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.001853/0.001853, allocations: 102.5 kB / 16.45 MB, free: 6.449 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.542/1.542, allocations: 230.6 MB / 249.8 MB, free: 9.215 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.001615/0.001615, allocations: 205.1 kB / 306 MB, free: 4.281 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.0424/0.0424, allocations: 8.91 MB / 371 MB, free: 3.422 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.002489/0.002489, allocations: 79.88 kB / 495.7 MB, free: 9.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2792/0.2817, allocations: 55.56 MB / 0.5384 GB, free: 26.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002057/0.2838, allocations: 1.214 MB / 0.5395 GB, free: 25.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001847/0.2839, allocations: 56.92 kB / 0.5396 GB, free: 25.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.874e-05/0.284, allocations: 0 / 0.5396 GB, free: 25.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.421e-05/0.2841, allocations: 7 kB / 0.5396 GB, free: 25.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.2842, allocations: 10.22 kB / 0.5396 GB, free: 25.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.172e-05/0.2842, allocations: 4 kB / 0.5396 GB, free: 25.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.879e-05/0.2843, allocations: 10 kB / 0.5396 GB, free: 25.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.2843, allocations: 14.75 kB / 0.5396 GB, free: 25.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.328e-05/0.2843, allocations: 10.91 kB / 0.5397 GB, free: 25.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.472e-05/0.2844, allocations: 10.98 kB / 0.5397 GB, free: 25.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.2844, allocations: 0 / 0.5397 GB, free: 25.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-06/0.2844, allocations: 0 / 0.5397 GB, free: 25.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.2844, allocations: 2.969 kB / 0.5397 GB, free: 25.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.018e-05/0.2844, allocations: 11.45 kB / 0.5397 GB, free: 25.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.279e-05/0.2845, allocations: 5.828 kB / 0.5397 GB, free: 25.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2845, allocations: 2.969 kB / 0.5397 GB, free: 25.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2845, allocations: 0 / 0.5397 GB, free: 25.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.2845, allocations: 0 / 0.5397 GB, free: 25.66 MB / 382.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.0003184/0.2848, allocations: 332.2 kB / 0.54 GB, free: 25.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.2848, allocations: 9.625 kB / 0.54 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.385e-05/0.2849, allocations: 30.75 kB / 0.54 GB, free: 25.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.221e-05/0.2849, allocations: 4 kB / 0.54 GB, free: 25.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.285, allocations: 163.6 kB / 0.5402 GB, free: 25.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.285, allocations: 384 / 0.5402 GB, free: 25.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.285, allocations: 384 / 0.5402 GB, free: 25.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.725e-05/0.2851, allocations: 54.33 kB / 0.5403 GB, free: 25.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.2851, allocations: 3.938 kB / 0.5403 GB, free: 25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.475e-06/0.2851, allocations: 3.25 kB / 0.5403 GB, free: 25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2851, allocations: 0 / 0.5403 GB, free: 25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.551e-05/0.2852, allocations: 0 / 0.5403 GB, free: 25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002428/0.2854, allocations: 167.2 kB / 0.5404 GB, free: 24.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.249e-05/0.2855, allocations: 48.22 kB / 0.5405 GB, free: 24.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.2855, allocations: 13.72 kB / 0.5405 GB, free: 24.72 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.654e-06/0.2855, allocations: 3.188 kB / 0.5405 GB, free: 24.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.225e-05/0.2855, allocations: 30.56 kB / 0.5405 GB, free: 24.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.744e-06/0.2855, allocations: 3.984 kB / 0.5405 GB, free: 24.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001411/0.2856, allocations: 54.05 kB / 0.5406 GB, free: 24.63 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.2857, allocations: 84.55 kB / 0.5406 GB, free: 24.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.816e-05/0.2857, allocations: 100.6 kB / 0.5407 GB, free: 24.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.2857, allocations: 32.95 kB / 0.5408 GB, free: 24.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.045e-05/0.2858, allocations: 80.14 kB / 0.5408 GB, free: 24.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.2858, allocations: 19.16 kB / 0.5409 GB, free: 24.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.2858, allocations: 12.91 kB / 0.5409 GB, free: 24.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.555e-05/0.2859, allocations: 318.1 kB / 0.5412 GB, free: 23.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.53e-05/0.2859, allocations: 0 / 0.5412 GB, free: 23.97 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.009e-05/0.2859, allocations: 37.16 kB / 0.5412 GB, free: 23.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.34e-05/0.286, allocations: 40.38 kB / 0.5413 GB, free: 23.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.286, allocations: 0 / 0.5413 GB, free: 23.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.407e-05/0.286, allocations: 64.41 kB / 0.5413 GB, free: 23.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.286, allocations: 7.219 kB / 0.5413 GB, free: 23.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.286, allocations: 7.344 kB / 0.5413 GB, free: 23.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2861, allocations: 0 / 0.5413 GB, free: 23.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.577e-05/0.2861, allocations: 6.281 kB / 0.5413 GB, free: 23.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2861, allocations: 11.48 kB / 0.5413 GB, free: 23.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.001e-05/0.2861, allocations: 3.344 kB / 0.5414 GB, free: 23.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.2861, allocations: 0 / 0.5414 GB, free: 23.82 MB / 382.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 5.027e-05/0.2862, allocations: 118.3 kB / 0.5415 GB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.2862, allocations: 11.2 kB / 0.5415 GB, free: 23.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.2862, allocations: 3.125 kB / 0.5415 GB, free: 23.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2862, allocations: 0 / 0.5415 GB, free: 23.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2862, allocations: 0 / 0.5415 GB, free: 23.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2862, allocations: 3.156 kB / 0.5415 GB, free: 23.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.2864, allocations: 158.4 kB / 0.5416 GB, free: 23.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2864, allocations: 0 / 0.5416 GB, free: 23.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.344e-05/0.2864, allocations: 2.906 kB / 0.5416 GB, free: 23.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2864, allocations: 6.906 kB / 0.5416 GB, free: 23.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.2864, allocations: 4 kB / 0.5416 GB, free: 23.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2864, allocations: 3.938 kB / 0.5417 GB, free: 23.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2864, allocations: 3.094 kB / 0.5417 GB, free: 23.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.698e-05/0.2865, allocations: 81.03 kB / 0.5417 GB, free: 23.4 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.975e-05/0.2865, allocations: 77.11 kB / 0.5418 GB, free: 23.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.2865, allocations: 7.156 kB / 0.5418 GB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.407e-05/0.2866, allocations: 96 / 0.5418 GB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.436e-05/0.2866, allocations: 4 kB / 0.5418 GB, free: 23.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.2866, allocations: 3.219 kB / 0.5418 GB, free: 23.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.927e-05/0.2866, allocations: 85.91 kB / 0.5419 GB, free: 23.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2866, allocations: 0 / 0.5419 GB, free: 23.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002074/0.2868, allocations: 3.25 kB / 0.5419 GB, free: 23.22 MB / 382.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.0002358/0.2871, allocations: 0.6179 MB / 0.5425 GB, free: 22.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.683e-05/0.2871, allocations: 16.97 kB / 0.5425 GB, free: 22.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2871, allocations: 0 / 0.5425 GB, free: 22.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.898e-06/0.2872, allocations: 10.41 kB / 0.5425 GB, free: 22.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.2873, allocations: 0 / 0.5425 GB, free: 22.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006941/0.288, allocations: 1.2 MB / 0.5437 GB, free: 21.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.645e-05/0.2881, allocations: 0.6793 MB / 0.5444 GB, free: 20.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.786e-05/0.2881, allocations: 3.156 kB / 0.5444 GB, free: 20.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.2881, allocations: 11.38 kB / 0.5444 GB, free: 20.68 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2881, allocations: 0 / 0.5444 GB, free: 20.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02406/0.3122, allocations: 1.194 MB / 0.5455 GB, free: 20.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.734/8.046, allocations: 5.453 kB / 0.5456 GB, free: 20.3 MB / 382.1 MB " [Timeout remaining time 652] (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: 10.927190040005371] Failed to read output from testmodel.py, exit status != 0: 8.112509487997158 8.121879567 7.835350463 Calling exit ...