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.001502/0.001502, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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 1.618/1.618, allocations: 230.6 MB / 250.5 MB, free: 9.23 MB / 206.1 MB " [Timeout remaining time 178] 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.001838/0.001838, allocations: 211.2 kB / 306.7 MB, free: 4.301 MB / 238.1 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.04163/0.04163, allocations: 8.908 MB / 371.7 MB, free: 3.441 MB / 302.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Classes.TestVector2D,fileNamePrefix="HanserModelica_HanserModelica_Classes_TestVector2D",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002627/0.002627, allocations: 89.11 kB / 496.4 MB, free: 5.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.167, allocations: 55.58 MB / 0.5391 GB, free: 6.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002918/0.17, allocations: 1.211 MB / 0.5402 GB, free: 5.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002646/0.1702, allocations: 55.78 kB / 0.5403 GB, free: 5.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.941e-05/0.1703, allocations: 0 / 0.5403 GB, free: 5.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.1704, allocations: 12.33 kB / 0.5403 GB, free: 5.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.1705, allocations: 3.938 kB / 0.5403 GB, free: 5.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.346e-05/0.1706, allocations: 4 kB / 0.5403 GB, free: 5.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.219e-05/0.1706, allocations: 15.97 kB / 0.5403 GB, free: 5.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.257e-05/0.1707, allocations: 15.81 kB / 0.5403 GB, free: 5.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.525e-05/0.1707, allocations: 0 / 0.5403 GB, free: 5.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.788e-05/0.1708, allocations: 4 kB / 0.5404 GB, free: 5.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.1708, allocations: 0 / 0.5404 GB, free: 5.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-06/0.1708, allocations: 8 kB / 0.5404 GB, free: 5.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.132e-05/0.1708, allocations: 11.92 kB / 0.5404 GB, free: 5.273 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.1709, allocations: 0 / 0.5404 GB, free: 5.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.768e-05/0.1709, allocations: 16.2 kB / 0.5404 GB, free: 5.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1709, allocations: 0 / 0.5404 GB, free: 5.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1709, allocations: 0 / 0.5404 GB, free: 5.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.171, allocations: 0 / 0.5404 GB, free: 5.258 MB / 350.1 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.0004963/0.1714, allocations: 327.4 kB / 0.5407 GB, free: 4.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.1715, allocations: 12.03 kB / 0.5407 GB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.674e-05/0.1715, allocations: 12.17 kB / 0.5407 GB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.1716, allocations: 34.75 kB / 0.5408 GB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.1716, allocations: 0.9375 kB / 0.5408 GB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.1718, allocations: 164.4 kB / 0.5409 GB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.1718, allocations: 384 / 0.5409 GB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.1718, allocations: 384 / 0.5409 GB, free: 4.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.172, allocations: 59.66 kB / 0.541 GB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.172, allocations: 0 / 0.541 GB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.172, allocations: 4 kB / 0.541 GB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.172, allocations: 4 kB / 0.541 GB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.742e-05/0.172, allocations: 0 / 0.541 GB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.1724, allocations: 162.6 kB / 0.5411 GB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.198e-05/0.1724, allocations: 37.19 kB / 0.5412 GB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.1725, allocations: 13.72 kB / 0.5412 GB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.1725, allocations: 12.05 kB / 0.5412 GB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.284e-05/0.1725, allocations: 34.5 kB / 0.5412 GB, free: 4.203 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/0.1725, allocations: 3.938 kB / 0.5412 GB, free: 4.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001924/0.1727, allocations: 45.59 kB / 0.5413 GB, free: 4.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.593e-05/0.1728, allocations: 85.09 kB / 0.5414 GB, free: 4.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.1729, allocations: 101.8 kB / 0.5414 GB, free: 3.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.1729, allocations: 29.95 kB / 0.5415 GB, free: 3.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/0.173, allocations: 80.14 kB / 0.5416 GB, free: 3.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.173, allocations: 7.953 kB / 0.5416 GB, free: 3.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.173, allocations: 21.7 kB / 0.5416 GB, free: 3.785 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1732, allocations: 310.8 kB / 0.5419 GB, free: 3.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.1732, allocations: 8 kB / 0.5419 GB, free: 3.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-05/0.1733, allocations: 27.61 kB / 0.5419 GB, free: 3.426 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.753e-05/0.1733, allocations: 43.38 kB / 0.542 GB, free: 3.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1733, allocations: 0 / 0.542 GB, free: 3.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.287e-05/0.1734, allocations: 61.56 kB / 0.542 GB, free: 3.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1734, allocations: 8.062 kB / 0.542 GB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1734, allocations: 4 kB / 0.542 GB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1735, allocations: 4.094 kB / 0.542 GB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.334e-05/0.1735, allocations: 11.98 kB / 0.542 GB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.1735, allocations: 3.938 kB / 0.542 GB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.182e-05/0.1735, allocations: 4 kB / 0.542 GB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.1735, allocations: 0 / 0.542 GB, free: 3.27 MB / 350.1 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 0.000119/0.1737, allocations: 109.8 kB / 0.5422 GB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.1737, allocations: 7.891 kB / 0.5422 GB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.1737, allocations: 19.11 kB / 0.5422 GB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1737, allocations: 0 / 0.5422 GB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1737, allocations: 0 / 0.5422 GB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1737, allocations: 0 / 0.5422 GB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002214/0.1739, allocations: 157.6 kB / 0.5423 GB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1739, allocations: 0 / 0.5423 GB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.174, allocations: 8 kB / 0.5423 GB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.174, allocations: 3.938 kB / 0.5423 GB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.174, allocations: 4 kB / 0.5423 GB, free: 2.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.174, allocations: 4 kB / 0.5423 GB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.174, allocations: 3.984 kB / 0.5424 GB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.1741, allocations: 73.94 kB / 0.5424 GB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.497e-05/0.1742, allocations: 85.03 kB / 0.5425 GB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.1742, allocations: 7.969 kB / 0.5425 GB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.264e-05/0.1742, allocations: 0 / 0.5425 GB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.1743, allocations: 0 / 0.5425 GB, free: 2.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.1743, allocations: 8 kB / 0.5425 GB, free: 2.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.579e-05/0.1743, allocations: 83.38 kB / 0.5426 GB, free: 2.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1743, allocations: 0 / 0.5426 GB, free: 2.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000185/0.1745, allocations: 0 / 0.5426 GB, free: 2.602 MB / 350.1 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.0005487/0.1751, allocations: 0.6211 MB / 0.5432 GB, free: 1.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.1752, allocations: 19.94 kB / 0.5432 GB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1752, allocations: 0 / 0.5432 GB, free: 1.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.747e-06/0.1752, allocations: 4 kB / 0.5432 GB, free: 1.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.1753, allocations: 7.125 kB / 0.5432 GB, free: 1.918 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1766, allocations: 1.196 MB / 0.5444 GB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.177, allocations: 0.6845 MB / 0.5451 GB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.271e-05/0.177, allocations: 0 / 0.5451 GB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.1771, allocations: 11.44 kB / 0.5451 GB, free: 15.89 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1771, allocations: 4 kB / 0.5451 GB, free: 15.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.1975, allocations: 1.222 MB / 0.5463 GB, free: 14.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.169/9.367, allocations: 4.734 kB / 0.5463 GB, free: 14.75 MB / 366.1 MB " [Timeout remaining time 651] (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: 12.662014032015577] Failed to read output from testmodel.py, exit status != 0: 9.493685136025306 9.514323881 9.339212601 Calling exit ...