Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.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.00134/0.00134, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.435/1.435, allocations: 230.6 MB / 252.7 MB, free: 8.066 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.001877/0.001877, allocations: 226.5 kB / 309.2 MB, free: 2.938 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.04135/0.04135, allocations: 8.92 MB / 374.6 MB, free: 1.719 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.VectorsMatrices1,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices1,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1",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.002538/0.002538, allocations: 87.86 kB / 0.4891 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3368, allocations: 55.59 MB / 0.5434 GB, free: 26.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001687/0.3385, allocations: 0.5226 MB / 0.5439 GB, free: 26.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3398, allocations: 1.157 MB / 0.5451 GB, free: 25.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.403e-05/0.3398, allocations: 0 / 0.5451 GB, free: 25.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.34, allocations: 10.53 kB / 0.5451 GB, free: 25.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001146/0.3401, allocations: 18.55 kB / 0.5451 GB, free: 25.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.417e-05/0.3402, allocations: 14.66 kB / 0.5451 GB, free: 25.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.305e-05/0.3402, allocations: 38.09 kB / 0.5451 GB, free: 25.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.3403, allocations: 0 / 0.5451 GB, free: 25.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.3405, allocations: 34.95 kB / 0.5452 GB, free: 25.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.3406, allocations: 44.48 kB / 0.5452 GB, free: 25.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.3406, allocations: 3 kB / 0.5452 GB, free: 25.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.515e-05/0.3406, allocations: 0 / 0.5452 GB, free: 25.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.105e-05/0.3407, allocations: 48.89 kB / 0.5453 GB, free: 25.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.3408, allocations: 15.16 kB / 0.5453 GB, free: 25.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.291e-05/0.3408, allocations: 47.94 kB / 0.5453 GB, free: 25.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3408, allocations: 4 kB / 0.5453 GB, free: 25.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3408, allocations: 0 / 0.5453 GB, free: 25.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3408, allocations: 0 / 0.5453 GB, free: 25.39 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005233/0.3414, allocations: 337.8 kB / 0.5457 GB, free: 25.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.3414, allocations: 9.031 kB / 0.5457 GB, free: 25.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.239e-05/0.3414, allocations: 30.75 kB / 0.5457 GB, free: 25.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.796e-05/0.3415, allocations: 15.34 kB / 0.5457 GB, free: 25.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.3417, allocations: 159.2 kB / 0.5459 GB, free: 24.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3417, allocations: 384 / 0.5459 GB, free: 24.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.3417, allocations: 7.625 kB / 0.5459 GB, free: 24.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.218e-05/0.3418, allocations: 43.92 kB / 0.5459 GB, free: 24.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.3418, allocations: 3.219 kB / 0.5459 GB, free: 24.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.3418, allocations: 0 / 0.5459 GB, free: 24.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3418, allocations: 0 / 0.5459 GB, free: 24.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.448e-05/0.3418, allocations: 10.09 kB / 0.5459 GB, free: 24.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.342, allocations: 160.9 kB / 0.5461 GB, free: 24.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.497e-05/0.342, allocations: 35.27 kB / 0.5461 GB, free: 24.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.204e-05/0.3421, allocations: 12.3 kB / 0.5461 GB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.3421, allocations: 3.312 kB / 0.5461 GB, free: 24.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.3421, allocations: 38.5 kB / 0.5462 GB, free: 24.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3421, allocations: 0 / 0.5462 GB, free: 24.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001672/0.3423, allocations: 66.38 kB / 0.5462 GB, free: 24.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.3423, allocations: 51.41 kB / 0.5463 GB, free: 24.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.3425, allocations: 214.2 kB / 0.5465 GB, free: 24.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/0.3425, allocations: 25.7 kB / 0.5465 GB, free: 24.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.3425, allocations: 105.9 kB / 0.5466 GB, free: 24.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.3425, allocations: 15.05 kB / 0.5466 GB, free: 24.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.3426, allocations: 24.25 kB / 0.5466 GB, free: 24.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.973e-05/0.3426, allocations: 321.4 kB / 0.5469 GB, free: 23.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.3426, allocations: 3 kB / 0.547 GB, free: 23.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.489e-05/0.3427, allocations: 17.11 kB / 0.547 GB, free: 23.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.01e-05/0.3427, allocations: 25.83 kB / 0.547 GB, free: 23.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3427, allocations: 0 / 0.547 GB, free: 23.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.866e-05/0.3428, allocations: 67.95 kB / 0.5471 GB, free: 23.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3428, allocations: 5.438 kB / 0.5471 GB, free: 23.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3428, allocations: 3.188 kB / 0.5471 GB, free: 23.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3428, allocations: 0 / 0.5471 GB, free: 23.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.215e-05/0.3429, allocations: 10.52 kB / 0.5471 GB, free: 23.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3429, allocations: 0 / 0.5471 GB, free: 23.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.3429, allocations: 3.25 kB / 0.5471 GB, free: 23.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.3429, allocations: 4 kB / 0.5471 GB, free: 23.8 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 (3): * Single equations (assignments): 3 * 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 6.083e-05/0.343, allocations: 126 kB / 0.5472 GB, free: 23.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.617e-05/0.343, allocations: 18.19 kB / 0.5472 GB, free: 23.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.3431, allocations: 61.39 kB / 0.5473 GB, free: 23.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.3431, allocations: 3.188 kB / 0.5473 GB, free: 23.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3431, allocations: 4 kB / 0.5473 GB, free: 23.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.3431, allocations: 3.188 kB / 0.5473 GB, free: 23.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.813e-05/0.3432, allocations: 151.6 kB / 0.5474 GB, free: 23.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3432, allocations: 0 / 0.5474 GB, free: 23.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.974e-05/0.3433, allocations: 13.7 kB / 0.5474 GB, free: 23.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3433, allocations: 7.938 kB / 0.5475 GB, free: 23.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.3433, allocations: 0 / 0.5475 GB, free: 23.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3433, allocations: 0 / 0.5475 GB, free: 23.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3433, allocations: 0 / 0.5475 GB, free: 23.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.169e-05/0.3434, allocations: 79.2 kB / 0.5475 GB, free: 23.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.3434, allocations: 18.56 kB / 0.5475 GB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.3434, allocations: 4 kB / 0.5476 GB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.836e-05/0.3435, allocations: 6.234 kB / 0.5476 GB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.3435, allocations: 0 / 0.5476 GB, free: 23.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.3435, allocations: 3.156 kB / 0.5476 GB, free: 23.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.3436, allocations: 168.7 kB / 0.5477 GB, free: 23.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3436, allocations: 4 kB / 0.5477 GB, free: 23.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001799/0.3438, allocations: 6.094 kB / 0.5477 GB, free: 23.25 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 (3): * Single equations (assignments): 3 * 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.0002075/0.344, allocations: 0.6147 MB / 0.5483 GB, free: 22.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.982e-05/0.344, allocations: 20.66 kB / 0.5484 GB, free: 22.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3441, allocations: 0 / 0.5484 GB, free: 22.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.665e-05/0.3441, allocations: 18.33 kB / 0.5484 GB, free: 22.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001485/0.3442, allocations: 7.125 kB / 0.5484 GB, free: 22.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.3453, allocations: 1.585 MB / 0.5499 GB, free: 21.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.697e-05/0.3454, allocations: 97.53 kB / 0.55 GB, free: 21.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.141e-05/0.3454, allocations: 15.06 kB / 0.55 GB, free: 21.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/0.3454, allocations: 29.62 kB / 0.5501 GB, free: 21.29 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3454, allocations: 0 / 0.5501 GB, free: 21.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03947/0.3849, allocations: 2.57 MB / 0.5526 GB, free: 20.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.55, allocations: 5.812 kB / 0.5526 GB, free: 20.45 MB / 382.1 MB " [Timeout remaining time 648] (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.297574126161635] Failed to read output from testmodel.py, exit status != 0: 11.653039846103638 11.673744453 11.328559648 Calling exit ...