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.00145/0.00145, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.496/1.496, allocations: 230.6 MB / 253.4 MB, free: 14.47 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.001501/0.001501, allocations: 212.9 kB / 310 MB, free: 3.074 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.04048/0.04048, allocations: 8.907 MB / 375.4 MB, free: 6.75 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices1,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1",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.002409/0.002409, allocations: 79.88 kB / 0.49 GB, free: 44.9 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.093/0.09541, allocations: 55.62 MB / 0.5443 GB, free: 5.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001603/0.09701, allocations: 0.5267 MB / 0.5448 GB, free: 4.656 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.09861, allocations: 1.184 MB / 0.5459 GB, free: 3.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.118e-05/0.09865, allocations: 0 / 0.5459 GB, free: 3.457 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001647/0.09882, allocations: 19.91 kB / 0.546 GB, free: 3.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.09892, allocations: 11.92 kB / 0.546 GB, free: 3.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.711e-05/0.09898, allocations: 11.94 kB / 0.546 GB, free: 3.414 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.386e-05/0.09906, allocations: 35.84 kB / 0.546 GB, free: 3.379 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/0.09911, allocations: 11.98 kB / 0.546 GB, free: 3.367 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.09927, allocations: 31.91 kB / 0.5461 GB, free: 3.336 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.09942, allocations: 43.81 kB / 0.5461 GB, free: 3.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.09944, allocations: 4 kB / 0.5461 GB, free: 3.289 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.151e-05/0.09945, allocations: 0 / 0.5461 GB, free: 3.289 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.617e-05/0.09955, allocations: 47.83 kB / 0.5462 GB, free: 3.242 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.09959, allocations: 23.75 kB / 0.5462 GB, free: 3.219 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.384e-05/0.09968, allocations: 55.91 kB / 0.5462 GB, free: 3.164 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.09969, allocations: 0 / 0.5462 GB, free: 3.164 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.09969, allocations: 0 / 0.5462 GB, free: 3.164 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.0997, allocations: 0 / 0.5462 GB, free: 3.164 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005962/0.1003, allocations: 333.9 kB / 0.5465 GB, free: 2.809 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.82e-05/0.1004, allocations: 11.98 kB / 0.5466 GB, free: 2.797 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.73e-05/0.1004, allocations: 4.188 kB / 0.5466 GB, free: 2.793 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/0.1004, allocations: 30.75 kB / 0.5466 GB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.1004, allocations: 12.84 kB / 0.5466 GB, free: 2.742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.1007, allocations: 166.8 kB / 0.5468 GB, free: 2.555 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1007, allocations: 4.375 kB / 0.5468 GB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.1007, allocations: 384 / 0.5468 GB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.935e-05/0.1008, allocations: 45.62 kB / 0.5468 GB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.1008, allocations: 0 / 0.5468 GB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.442e-06/0.1008, allocations: 0 / 0.5468 GB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1008, allocations: 0 / 0.5468 GB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.452e-05/0.1008, allocations: 7.984 kB / 0.5468 GB, free: 2.492 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002177/0.1011, allocations: 172.7 kB / 0.547 GB, free: 2.281 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.502e-05/0.1011, allocations: 34.45 kB / 0.547 GB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.028e-05/0.1012, allocations: 20.94 kB / 0.547 GB, free: 2.215 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.1012, allocations: 3.938 kB / 0.547 GB, free: 2.211 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1012, allocations: 34.56 kB / 0.5471 GB, free: 2.168 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1012, allocations: 0 / 0.5471 GB, free: 2.168 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001844/0.1014, allocations: 57.64 kB / 0.5471 GB, free: 2.105 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.1014, allocations: 59.34 kB / 0.5472 GB, free: 2.035 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.1017, allocations: 214.4 kB / 0.5474 GB, free: 1.816 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.1017, allocations: 29.7 kB / 0.5474 GB, free: 1.781 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.1018, allocations: 108.1 kB / 0.5475 GB, free: 1.672 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.1018, allocations: 7.938 kB / 0.5475 GB, free: 1.664 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.1018, allocations: 17.72 kB / 0.5475 GB, free: 1.641 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.102, allocations: 322.8 kB / 0.5479 GB, free: 1.316 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.102, allocations: 8 kB / 0.5479 GB, free: 1.309 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.676e-05/0.102, allocations: 11.98 kB / 0.5479 GB, free: 1.297 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.598e-05/0.1021, allocations: 16.86 kB / 0.5479 GB, free: 1.277 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1021, allocations: 4 kB / 0.5479 GB, free: 1.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.118e-05/0.1022, allocations: 65.86 kB / 0.548 GB, free: 1.203 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.1022, allocations: 11.92 kB / 0.548 GB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1022, allocations: 0 / 0.548 GB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1022, allocations: 0 / 0.548 GB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.695e-05/0.1023, allocations: 4 kB / 0.548 GB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.1023, allocations: 7.938 kB / 0.548 GB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.055e-05/0.1023, allocations: 3.984 kB / 0.548 GB, free: 1.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1023, allocations: 7.984 kB / 0.548 GB, free: 1.168 MB / 366.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 9.455e-05/0.1024, allocations: 121.8 kB / 0.5481 GB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.1025, allocations: 15.84 kB / 0.5481 GB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.1026, allocations: 66.7 kB / 0.5482 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1026, allocations: 0 / 0.5482 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1026, allocations: 4 kB / 0.5482 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1026, allocations: 0 / 0.5482 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.1027, allocations: 148.7 kB / 0.5483 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1027, allocations: 7.875 kB / 0.5483 GB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.1028, allocations: 4 kB / 0.5483 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.1028, allocations: 0 / 0.5483 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/0.1028, allocations: 7.984 kB / 0.5483 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.1028, allocations: 7.938 kB / 0.5484 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1028, allocations: 0 / 0.5484 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.1029, allocations: 77.08 kB / 0.5484 GB, free: 0.6367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.349e-05/0.103, allocations: 23.78 kB / 0.5485 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.103, allocations: 3.984 kB / 0.5485 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.442e-05/0.103, allocations: 4 kB / 0.5485 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.1031, allocations: 0 / 0.5485 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.1031, allocations: 8 kB / 0.5485 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001731/0.1032, allocations: 172.2 kB / 0.5486 GB, free: 440 kB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1032, allocations: 0 / 0.5486 GB, free: 440 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0001865/0.1034, allocations: 8 kB / 0.5486 GB, free: 432 kB / 366.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.0004567/0.1039, allocations: 0.6208 MB / 0.5492 GB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.104, allocations: 19.98 kB / 0.5493 GB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.104, allocations: 4 kB / 0.5493 GB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.106e-05/0.104, allocations: 7.938 kB / 0.5493 GB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001672/0.1042, allocations: 9.094 kB / 0.5493 GB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001733/0.1059, allocations: 1.586 MB / 0.5508 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.1063, allocations: 0.7119 MB / 0.5515 GB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.101e-05/0.1063, allocations: 15.97 kB / 0.5515 GB, free: 13.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/0.1064, allocations: 23.44 kB / 0.5516 GB, free: 13.29 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1064, allocations: 4 kB / 0.5516 GB, free: 13.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.1303, allocations: 2.204 MB / 0.5537 GB, free: 11.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.03, allocations: 6.578 kB / 0.5537 GB, free: 11.2 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: 15.13226461794693] Failed to read output from testmodel.py, exit status != 0: 12.189434256055392 12.440313381 12.337377762 Calling exit ...