Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.TestVector2D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009279/0.0009279, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9084/0.9084, allocations: 177.1 MB / 199.4 MB, free: 5.93 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 163.4 kB / 256 MB, free: 13.34 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.02505/0.02505, allocations: 6.668 MB / 319 MB, free: 26.75 MB / 266.7 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.Classes.TestVector2D,fileNamePrefix="HanserModelica_HanserModelica_Classes_TestVector2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Classes.TestVector2D,fileNamePrefix="HanserModelica_HanserModelica_Classes_TestVector2D",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 445.4 MB, free: 37.64 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.205e-05, allocations: 2.281 kB / 445.4 MB, free: 37.63 MB / 330.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002106/0.002128, allocations: 1.21 MB / 446.6 MB, free: 36.41 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002086/0.002336, allocations: 60.19 kB / 446.7 MB, free: 36.36 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.735e-05/0.002374, allocations: 0 / 446.7 MB, free: 36.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 9.008e-05/0.002464, allocations: 7.938 kB / 446.7 MB, free: 36.35 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.002589, allocations: 0 / 446.7 MB, free: 36.35 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.016e-05/0.002619, allocations: 7.938 kB / 446.7 MB, free: 36.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 6.39e-05/0.002683, allocations: 15.92 kB / 446.7 MB, free: 36.32 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.002727, allocations: 7.984 kB / 446.7 MB, free: 36.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.882e-05/0.002776, allocations: 3.938 kB / 446.7 MB, free: 36.31 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.948e-05/0.002825, allocations: 19.97 kB / 446.7 MB, free: 36.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.002848, allocations: 3.938 kB / 446.7 MB, free: 36.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.366e-06/0.002857, allocations: 4 kB / 446.7 MB, free: 36.29 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.002871, allocations: 0 / 446.7 MB, free: 36.29 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 1.838e-05/0.002889, allocations: 3.938 kB / 446.7 MB, free: 36.28 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 7.21e-05/0.002961, allocations: 15.92 kB / 446.7 MB, free: 36.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.002964, allocations: 0 / 446.7 MB, free: 36.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.002965, allocations: 0 / 446.7 MB, free: 36.27 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.00297, allocations: 4 kB / 446.7 MB, free: 36.26 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000296/0.003266, allocations: 248.2 kB / 447 MB, free: 35.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.003308, allocations: 12.03 kB / 447 MB, free: 35.98 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.545e-05/0.003333, allocations: 30.75 kB / 447 MB, free: 35.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.241e-05/0.003356, allocations: 4.938 kB / 447 MB, free: 35.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.619e-05/0.003432, allocations: 105.8 kB / 447.1 MB, free: 35.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.003442, allocations: 4.359 kB / 447.1 MB, free: 35.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.003458, allocations: 4.375 kB / 447.1 MB, free: 35.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.013e-05/0.003528, allocations: 43.98 kB / 447.2 MB, free: 35.74 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.003535, allocations: 192 / 447.2 MB, free: 35.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.003542, allocations: 384 / 447.2 MB, free: 35.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.003547, allocations: 8.062 kB / 447.2 MB, free: 35.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.472e-05/0.003561, allocations: 8 kB / 447.2 MB, free: 35.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000256/0.003817, allocations: 133.7 kB / 447.3 MB, free: 35.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.312e-05/0.00386, allocations: 37.16 kB / 447.4 MB, free: 35.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.003876, allocations: 9.719 kB / 447.4 MB, free: 35.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.003886, allocations: 3.984 kB / 447.4 MB, free: 35.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.133e-05/0.003898, allocations: 38.62 kB / 447.4 MB, free: 35.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.003899, allocations: 0 / 447.4 MB, free: 35.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001111/0.00401, allocations: 41.59 kB / 447.5 MB, free: 35.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.16e-05/0.004032, allocations: 89.03 kB / 447.6 MB, free: 35.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.615e-05/0.004078, allocations: 102.1 kB / 447.7 MB, free: 35.17 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.1e-06/0.004083, allocations: 25.7 kB / 447.7 MB, free: 35.14 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.409e-05/0.004097, allocations: 88.14 kB / 447.8 MB, free: 35.05 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.004118, allocations: 11.88 kB / 447.8 MB, free: 35.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/0.004141, allocations: 21.7 kB / 447.8 MB, free: 35.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.438e-05/0.004165, allocations: 310.8 kB / 448.1 MB, free: 34.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.004178, allocations: 8 kB / 448.1 MB, free: 34.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.64e-05/0.004194, allocations: 31.36 kB / 448.1 MB, free: 34.64 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.368e-05/0.004228, allocations: 47.38 kB / 448.2 MB, free: 34.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.00423, allocations: 0 / 448.2 MB, free: 34.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.921e-05/0.004279, allocations: 53.62 kB / 448.2 MB, free: 34.53 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.004292, allocations: 11.94 kB / 448.3 MB, free: 34.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.004296, allocations: 0 / 448.3 MB, free: 34.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.004308, allocations: 0 / 448.3 MB, free: 34.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.824e-05/0.004336, allocations: 11.94 kB / 448.3 MB, free: 34.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.00434, allocations: 0 / 448.3 MB, free: 34.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.369e-05/0.004364, allocations: 8 kB / 448.3 MB, free: 34.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.004369, allocations: 12.06 kB / 448.3 MB, free: 34.48 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/0.004404, allocations: 113.8 kB / 448.4 MB, free: 34.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.771e-06/0.00441, allocations: 3.953 kB / 448.4 MB, free: 34.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.522e-05/0.004425, allocations: 7.141 kB / 448.4 MB, free: 34.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.004427, allocations: 4 kB / 448.4 MB, free: 34.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.004431, allocations: 3.938 kB / 448.4 MB, free: 34.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.004434, allocations: 0 / 448.4 MB, free: 34.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.824e-05/0.004502, allocations: 128.8 kB / 448.5 MB, free: 34.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.004503, allocations: 0 / 448.5 MB, free: 34.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.681e-05/0.00452, allocations: 4 kB / 448.5 MB, free: 34.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.00452, allocations: 4.281 kB / 448.5 MB, free: 34.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.004527, allocations: 0 / 448.5 MB, free: 34.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.004529, allocations: 7.984 kB / 448.6 MB, free: 34.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.004531, allocations: 3.938 kB / 448.6 MB, free: 34.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.828e-05/0.004609, allocations: 81.91 kB / 448.6 MB, free: 34.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.141e-06/0.004615, allocations: 4.031 kB / 448.6 MB, free: 34.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.004626, allocations: 0 / 448.6 MB, free: 34.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.204e-05/0.004638, allocations: 0 / 448.6 MB, free: 34.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.004651, allocations: 11.92 kB / 448.7 MB, free: 34.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.004653, allocations: 0 / 448.7 MB, free: 34.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.601e-05/0.004669, allocations: 83.38 kB / 448.7 MB, free: 33.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.004669, allocations: 0 / 448.7 MB, free: 33.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000133/0.004802, allocations: 8 kB / 448.7 MB, free: 33.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (v.y,v.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001411/0.004943, allocations: 0.6016 MB / 449.3 MB, free: 33.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 7.343e-05/0.005017, allocations: 19.92 kB / 449.4 MB, free: 33.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.005019, allocations: 0 / 449.4 MB, free: 33.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.534e-06/0.005026, allocations: 8.281 kB / 449.4 MB, free: 33.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.005146, allocations: 14.72 kB / 449.4 MB, free: 33.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006042/0.00575, allocations: 1.183 MB / 450.6 MB, free: 31.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.983e-05/0.00578, allocations: 63.28 kB / 450.6 MB, free: 31.9 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.19e-05/0.005802, allocations: 4 kB / 450.6 MB, free: 31.9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.314e-05/0.005835, allocations: 12.5 kB / 450.6 MB, free: 31.89 MB / 330.7 MB Notification: Performance of SimCode: time 6.51e-07/0.005835, allocations: 0 / 450.6 MB, free: 31.89 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.02268, allocations: 1.855 MB / 452.5 MB, free: 30.15 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.539/6.562, allocations: 0 / 452.5 MB, free: 30.15 MB / 330.7 MB " [Timeout remaining time 653] (rm -f HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; mkfifo HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.TestVector2D.pipe >> ../files/HanserModelica_HanserModelica.Classes.TestVector2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Classes_TestVector2D_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Classes_TestVector2D.fmu > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.434022226370871] Failed to read output from testmodel.py, exit status != 0: 6.639860832132399 6.645942184 6.64161035 Calling exit ...