Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.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.001373/0.001373, allocations: 103.3 kB / 16.45 MB, free: 6.5 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.51/1.51, 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.002272/0.002272, allocations: 209.7 kB / 306 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.04126/0.04126, allocations: 8.909 MB / 371 MB, free: 3.434 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.VariablesTypes.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",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.00243/0.00243, allocations: 79.89 kB / 495.7 MB, free: 9.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3237, allocations: 55.57 MB / 0.5384 GB, free: 26.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.00147/0.3252, allocations: 0.5 MB / 0.5389 GB, free: 26.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.3263, allocations: 1.154 MB / 0.54 GB, free: 25.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.128e-05/0.3263, allocations: 0 / 0.54 GB, free: 25.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002384/0.3265, allocations: 21.09 kB / 0.54 GB, free: 25.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.164e-05/0.3266, allocations: 24.98 kB / 0.54 GB, free: 25.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.677e-06/0.3266, allocations: 0 / 0.54 GB, free: 25.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.987e-05/0.3267, allocations: 28.16 kB / 0.5401 GB, free: 25.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.3267, allocations: 3.25 kB / 0.5401 GB, free: 25.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.3269, allocations: 20.91 kB / 0.5401 GB, free: 25.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.317e-05/0.3269, allocations: 35.48 kB / 0.5401 GB, free: 25.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.327, allocations: 0 / 0.5401 GB, free: 25.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.327, allocations: 0 / 0.5401 GB, free: 25.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.3271, allocations: 71.34 kB / 0.5402 GB, free: 25.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.3271, allocations: 30.19 kB / 0.5402 GB, free: 25.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.751e-05/0.3272, allocations: 47.44 kB / 0.5402 GB, free: 25.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3272, allocations: 0 / 0.5402 GB, free: 25.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3272, allocations: 0 / 0.5402 GB, free: 25.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.3272, allocations: 0 / 0.5402 GB, free: 25.33 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003562/0.3275, allocations: 412.3 kB / 0.5406 GB, free: 24.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.3276, allocations: 9.594 kB / 0.5407 GB, free: 24.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.952e-05/0.3276, allocations: 109.3 kB / 0.5408 GB, free: 24.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.3276, allocations: 87.42 kB / 0.5408 GB, free: 24.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.3278, allocations: 291 kB / 0.5411 GB, free: 24.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.3278, allocations: 150.9 kB / 0.5413 GB, free: 24.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.3278, allocations: 150.9 kB / 0.5414 GB, free: 24.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.815e-05/0.3279, allocations: 112.5 kB / 0.5415 GB, free: 24.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3279, allocations: 75.28 kB / 0.5416 GB, free: 23.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.3279, allocations: 154.6 kB / 0.5417 GB, free: 23.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.3279, allocations: 150.6 kB / 0.5419 GB, free: 23.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.135e-05/0.328, allocations: 157.7 kB / 0.542 GB, free: 23.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001792/0.3281, allocations: 483.8 kB / 0.5425 GB, free: 23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.688e-05/0.3282, allocations: 173.1 kB / 0.5427 GB, free: 22.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.482e-05/0.3282, allocations: 80.14 kB / 0.5427 GB, free: 22.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.3282, allocations: 75.28 kB / 0.5428 GB, free: 22.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.3282, allocations: 112.9 kB / 0.5429 GB, free: 22.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.3282, allocations: 0 / 0.5429 GB, free: 22.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 6.728e-05/0.3283, allocations: 43.38 kB / 0.5429 GB, free: 22.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.3283, allocations: 134.6 kB / 0.5431 GB, free: 22.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.3285, allocations: 235.9 kB / 0.5433 GB, free: 22.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.3285, allocations: 25.7 kB / 0.5433 GB, free: 22.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.3286, allocations: 117.6 kB / 0.5434 GB, free: 22.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.082e-06/0.3286, allocations: 0 / 0.5434 GB, free: 22.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.591e-05/0.3286, allocations: 17.03 kB / 0.5435 GB, free: 22.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.058e-05/0.3286, allocations: 324.4 kB / 0.5438 GB, free: 21.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-06/0.3286, allocations: 4 kB / 0.5438 GB, free: 21.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.154e-06/0.3286, allocations: 0 / 0.5438 GB, free: 21.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.188e-05/0.3286, allocations: 75.28 kB / 0.5438 GB, free: 21.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.3287, allocations: 79.28 kB / 0.5439 GB, free: 21.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.081e-05/0.3287, allocations: 39.75 kB / 0.544 GB, free: 21.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.3287, allocations: 81.97 kB / 0.544 GB, free: 21.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.3287, allocations: 79.22 kB / 0.5441 GB, free: 21.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.3288, allocations: 157.3 kB / 0.5443 GB, free: 21.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.709e-06/0.3288, allocations: 84.17 kB / 0.5443 GB, free: 21.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.3288, allocations: 154.6 kB / 0.5445 GB, free: 21.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.98e-05/0.3289, allocations: 82.31 kB / 0.5446 GB, free: 20.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.3289, allocations: 79.22 kB / 0.5446 GB, free: 20.86 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 8.043e-05/0.329, allocations: 289.7 kB / 0.5449 GB, free: 20.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.329, allocations: 120.3 kB / 0.545 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.329, allocations: 130.5 kB / 0.5452 GB, free: 20.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/0.3291, allocations: 179.5 kB / 0.5453 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/0.3291, allocations: 183.6 kB / 0.5455 GB, free: 19.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.631e-05/0.3291, allocations: 180.5 kB / 0.5457 GB, free: 19.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.3293, allocations: 442 kB / 0.5461 GB, free: 19.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/0.3293, allocations: 109 kB / 0.5462 GB, free: 19.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.459e-05/0.3293, allocations: 104.9 kB / 0.5463 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-05/0.3293, allocations: 179.3 kB / 0.5465 GB, free: 18.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.3294, allocations: 187.7 kB / 0.5466 GB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.419e-05/0.3294, allocations: 176.3 kB / 0.5468 GB, free: 18.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.346e-05/0.3294, allocations: 187 kB / 0.547 GB, free: 18.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.892e-05/0.3295, allocations: 316.9 kB / 0.5473 GB, free: 18.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.3295, allocations: 196.2 kB / 0.5475 GB, free: 17.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.3296, allocations: 176.3 kB / 0.5477 GB, free: 17.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.478e-05/0.3296, allocations: 111.3 kB / 0.5478 GB, free: 17.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.3297, allocations: 180.3 kB / 0.5479 GB, free: 17.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3297, allocations: 108 kB / 0.548 GB, free: 17.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.3298, allocations: 171.7 kB / 0.5482 GB, free: 17.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3298, allocations: 0 / 0.5482 GB, free: 17.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.33, allocations: 6.375 kB / 0.5482 GB, free: 17.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * 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.0001804/0.3302, allocations: 0.8153 MB / 0.549 GB, free: 16.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 3.89e-05/0.3302, allocations: 3.031 kB / 0.549 GB, free: 16.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3302, allocations: 0 / 0.549 GB, free: 16.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.3302, allocations: 3.938 kB / 0.549 GB, free: 16.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.3305, allocations: 466.9 kB / 0.5495 GB, free: 15.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.3318, allocations: 2.044 MB / 0.5514 GB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.3319, allocations: 0.7131 MB / 0.5521 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.259e-05/0.3319, allocations: 0 / 0.5521 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.3319, allocations: 26.86 kB / 0.5522 GB, free: 13.47 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3319, allocations: 0 / 0.5522 GB, free: 13.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02522/0.3572, allocations: 1.885 MB / 0.554 GB, free: 13.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.912/8.269, allocations: 12.7 kB / 0.554 GB, free: 13.06 MB / 382.1 MB " [Timeout remaining time 652] (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & python3 -m fmpy simulate --output-file HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2_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_VariablesTypes_VectorsMatrices2.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.155078320996836] Failed to read output from testmodel.py, exit status != 0: 8.338723143009702 8.353067673 8.022903182 Calling exit ...