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.001822/0.001822, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.602/1.602, allocations: 230.6 MB / 252.7 MB, free: 14.28 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.002183/0.002183, allocations: 212.4 kB / 309.2 MB, free: 3.137 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.04405/0.04405, allocations: 8.92 MB / 374.6 MB, free: 6.582 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="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: 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.002758/0.002758, allocations: 93.58 kB / 0.4891 GB, free: 44.77 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1056, allocations: 55.6 MB / 0.5434 GB, free: 5.066 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.003643/0.1092, allocations: 1.212 MB / 0.5446 GB, free: 3.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002851/0.1095, allocations: 46 kB / 0.5447 GB, free: 3.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.031e-05/0.1095, allocations: 0 / 0.5447 GB, free: 3.797 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.1096, allocations: 11.92 kB / 0.5447 GB, free: 3.785 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001406/0.1098, allocations: 7.938 kB / 0.5447 GB, free: 3.777 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.142e-05/0.1098, allocations: 0 / 0.5447 GB, free: 3.777 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.794e-05/0.1099, allocations: 27.84 kB / 0.5447 GB, free: 3.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.11, allocations: 0 / 0.5447 GB, free: 3.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.833e-05/0.11, allocations: 7.938 kB / 0.5447 GB, free: 3.742 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.672e-05/0.1101, allocations: 4 kB / 0.5447 GB, free: 3.738 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1101, allocations: 4 kB / 0.5447 GB, free: 3.734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.377e-06/0.1101, allocations: 4 kB / 0.5447 GB, free: 3.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.1101, allocations: 0 / 0.5447 GB, free: 3.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.1101, allocations: 11.92 kB / 0.5447 GB, free: 3.719 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 8.175e-05/0.1102, allocations: 12.2 kB / 0.5447 GB, free: 3.707 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1102, allocations: 4 kB / 0.5447 GB, free: 3.703 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1102, allocations: 0 / 0.5447 GB, free: 3.703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1102, allocations: 0 / 0.5447 GB, free: 3.703 MB / 366.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.0004657/0.1107, allocations: 254.3 kB / 0.545 GB, free: 3.422 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.1107, allocations: 11.98 kB / 0.545 GB, free: 3.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.904e-05/0.1108, allocations: 34.75 kB / 0.545 GB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.193e-05/0.1108, allocations: 12.92 kB / 0.545 GB, free: 3.355 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.111, allocations: 110.5 kB / 0.5452 GB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.111, allocations: 4.375 kB / 0.5452 GB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.111, allocations: 384 / 0.5452 GB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.1111, allocations: 43.98 kB / 0.5452 GB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1111, allocations: 7.922 kB / 0.5452 GB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1112, allocations: 0 / 0.5452 GB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1112, allocations: 0 / 0.5452 GB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.188e-05/0.1112, allocations: 11.92 kB / 0.5452 GB, free: 3.145 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.1116, allocations: 133.6 kB / 0.5453 GB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.199e-05/0.1117, allocations: 37.19 kB / 0.5454 GB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.456e-05/0.1117, allocations: 17.84 kB / 0.5454 GB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.1117, allocations: 0 / 0.5454 GB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.1117, allocations: 34.5 kB / 0.5454 GB, free: 2.848 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1117, allocations: 0 / 0.5454 GB, free: 2.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001896/0.1119, allocations: 57.52 kB / 0.5455 GB, free: 2.785 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.112, allocations: 77.11 kB / 0.5456 GB, free: 2.691 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1121, allocations: 101.8 kB / 0.5457 GB, free: 2.582 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.1121, allocations: 29.7 kB / 0.5457 GB, free: 2.547 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.1122, allocations: 80.39 kB / 0.5458 GB, free: 2.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.084e-05/0.1122, allocations: 7.953 kB / 0.5458 GB, free: 2.457 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.1123, allocations: 17.72 kB / 0.5458 GB, free: 2.434 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.1125, allocations: 314.8 kB / 0.5461 GB, free: 2.117 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.717e-05/0.1125, allocations: 7.984 kB / 0.5461 GB, free: 2.109 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.155e-05/0.1125, allocations: 27.44 kB / 0.5461 GB, free: 2.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.464e-05/0.1126, allocations: 39.38 kB / 0.5462 GB, free: 2.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1126, allocations: 0 / 0.5462 GB, free: 2.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001599/0.1128, allocations: 69.5 kB / 0.5462 GB, free: 1.945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1128, allocations: 7.938 kB / 0.5462 GB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1128, allocations: 0 / 0.5462 GB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1128, allocations: 4 kB / 0.5462 GB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.385e-05/0.1129, allocations: 4 kB / 0.5462 GB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.1129, allocations: 7.984 kB / 0.5462 GB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.788e-05/0.113, allocations: 11.92 kB / 0.5463 GB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.113, allocations: 0 / 0.5463 GB, free: 1.91 MB / 366.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.0001068/0.1131, allocations: 113.9 kB / 0.5464 GB, free: 1.789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.1131, allocations: 11.89 kB / 0.5464 GB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.194e-05/0.1131, allocations: 11.16 kB / 0.5464 GB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1131, allocations: 0 / 0.5464 GB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1131, allocations: 0 / 0.5464 GB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.1131, allocations: 0 / 0.5464 GB, free: 1.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.1134, allocations: 124.8 kB / 0.5465 GB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1134, allocations: 0 / 0.5465 GB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.1134, allocations: 4 kB / 0.5465 GB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.1134, allocations: 3.938 kB / 0.5465 GB, free: 1.598 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.1134, allocations: 11.94 kB / 0.5465 GB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-06/0.1134, allocations: 11.98 kB / 0.5465 GB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1134, allocations: 0 / 0.5465 GB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.1136, allocations: 73.98 kB / 0.5466 GB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-06/0.1136, allocations: 0 / 0.5466 GB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.1136, allocations: 7.969 kB / 0.5466 GB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.316e-05/0.1137, allocations: 0 / 0.5466 GB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.1137, allocations: 0 / 0.5466 GB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.1137, allocations: 0 / 0.5466 GB, free: 1.473 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.762e-05/0.1138, allocations: 87.27 kB / 0.5467 GB, free: 1.387 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1138, allocations: 0 / 0.5467 GB, free: 1.387 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003372/0.1141, allocations: 4 kB / 0.5467 GB, free: 1.383 MB / 366.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.0005984/0.1147, allocations: 0.6176 MB / 0.5473 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.1148, allocations: 19.94 kB / 0.5473 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1148, allocations: 0 / 0.5473 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.115e-05/0.1148, allocations: 4 kB / 0.5473 GB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.1151, allocations: 2.031 kB / 0.5473 GB, free: 0.707 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.1167, allocations: 1.2 MB / 0.5485 GB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.526e-05/0.1167, allocations: 67.28 kB / 0.5486 GB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.017e-05/0.1168, allocations: 0 / 0.5486 GB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.1168, allocations: 19.41 kB / 0.5486 GB, free: 15.29 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1168, allocations: 0 / 0.5486 GB, free: 15.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03493/0.1517, allocations: 1.71 MB / 0.5503 GB, free: 13.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.05, allocations: 2.75 kB / 0.5503 GB, free: 13.69 MB / 382.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.Classes.TestVector2D_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 HanserModelica_HanserModelica_Classes_TestVector2D.fmu > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.359295039903373] Failed to read output from testmodel.py, exit status != 0: 11.156037278007716 11.379431545 11.06790014 Calling exit ...