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.001341/0.001341, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 14.3 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.001586/0.001586, allocations: 209.1 kB / 310 MB, free: 3.109 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.04104/0.04104, allocations: 8.924 MB / 375.4 MB, free: 6.602 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.00243/0.00243, allocations: 81.75 kB / 0.4899 GB, free: 44.79 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1147, allocations: 55.61 MB / 0.5442 GB, free: 5.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001854/0.1166, allocations: 0.5244 MB / 0.5447 GB, free: 4.551 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.1182, allocations: 1.134 MB / 0.5458 GB, free: 3.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/0.1183, allocations: 7.938 kB / 0.5458 GB, free: 3.395 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.1185, allocations: 11.98 kB / 0.5458 GB, free: 3.383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.1186, allocations: 19.86 kB / 0.5459 GB, free: 3.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.574e-05/0.1187, allocations: 7.984 kB / 0.5459 GB, free: 3.355 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 9.581e-05/0.1187, allocations: 35.89 kB / 0.5459 GB, free: 3.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.475e-05/0.1188, allocations: 12 kB / 0.5459 GB, free: 3.309 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000189/0.119, allocations: 23.86 kB / 0.5459 GB, free: 3.285 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.1192, allocations: 43.88 kB / 0.546 GB, free: 3.242 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1192, allocations: 4 kB / 0.546 GB, free: 3.238 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.1192, allocations: 4 kB / 0.546 GB, free: 3.234 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1193, allocations: 47.77 kB / 0.546 GB, free: 3.188 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.1193, allocations: 19.86 kB / 0.546 GB, free: 3.168 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.1195, allocations: 51.92 kB / 0.5461 GB, free: 3.117 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.1195, allocations: 0 / 0.5461 GB, free: 3.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1195, allocations: 0 / 0.5461 GB, free: 3.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1195, allocations: 0 / 0.5461 GB, free: 3.117 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.0006434/0.1201, allocations: 329.8 kB / 0.5464 GB, free: 2.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1202, allocations: 19.98 kB / 0.5464 GB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.997e-05/0.1202, allocations: 8.172 kB / 0.5464 GB, free: 2.738 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.027e-05/0.1202, allocations: 34.69 kB / 0.5465 GB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.1202, allocations: 12.84 kB / 0.5465 GB, free: 2.684 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.1204, allocations: 162.9 kB / 0.5466 GB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.1204, allocations: 384 / 0.5466 GB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.1205, allocations: 384 / 0.5466 GB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.511e-05/0.1205, allocations: 49.56 kB / 0.5467 GB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1206, allocations: 0 / 0.5467 GB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.1206, allocations: 0 / 0.5467 GB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1206, allocations: 0 / 0.5467 GB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.618e-05/0.1206, allocations: 15.98 kB / 0.5467 GB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.1208, allocations: 160.7 kB / 0.5469 GB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.56e-05/0.1209, allocations: 34.56 kB / 0.5469 GB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.1209, allocations: 8.859 kB / 0.5469 GB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.121, allocations: 7.938 kB / 0.5469 GB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.121, allocations: 34.5 kB / 0.5469 GB, free: 2.125 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/0.121, allocations: 3.938 kB / 0.5469 GB, free: 2.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002062/0.1212, allocations: 61.72 kB / 0.547 GB, free: 2.055 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/0.1213, allocations: 55.41 kB / 0.547 GB, free: 1.988 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.1215, allocations: 214.4 kB / 0.5473 GB, free: 1.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1216, allocations: 29.7 kB / 0.5473 GB, free: 1.734 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/0.1216, allocations: 108.1 kB / 0.5474 GB, free: 1.625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.1217, allocations: 7.953 kB / 0.5474 GB, free: 1.617 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.1217, allocations: 13.72 kB / 0.5474 GB, free: 1.598 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1219, allocations: 326.8 kB / 0.5477 GB, free: 1.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.1219, allocations: 7.984 kB / 0.5477 GB, free: 1.262 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.528e-05/0.1219, allocations: 4 kB / 0.5477 GB, free: 1.258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.754e-05/0.122, allocations: 24.78 kB / 0.5478 GB, free: 1.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.122, allocations: 0 / 0.5478 GB, free: 1.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001063/0.1221, allocations: 69.81 kB / 0.5478 GB, free: 1.156 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1221, allocations: 8 kB / 0.5478 GB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.1221, allocations: 0 / 0.5478 GB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.1221, allocations: 48 / 0.5478 GB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.662e-05/0.1222, allocations: 7.984 kB / 0.5478 GB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.1222, allocations: 4 kB / 0.5478 GB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/0.1223, allocations: 3.984 kB / 0.5478 GB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.1223, allocations: 0 / 0.5478 GB, free: 1.133 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.766e-05/0.1224, allocations: 125.8 kB / 0.548 GB, free: 1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.1224, allocations: 19.78 kB / 0.548 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001502/0.1226, allocations: 62.7 kB / 0.548 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1226, allocations: 8 kB / 0.548 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1226, allocations: 3.984 kB / 0.5481 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1226, allocations: 0 / 0.5481 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.1227, allocations: 156.7 kB / 0.5482 GB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.1227, allocations: 3.938 kB / 0.5482 GB, free: 0.6992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.03e-05/0.1228, allocations: 4 kB / 0.5482 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1228, allocations: 0 / 0.5482 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.1228, allocations: 0 / 0.5482 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1228, allocations: 4 kB / 0.5482 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1228, allocations: 0 / 0.5482 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.1229, allocations: 85 kB / 0.5483 GB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-05/0.1229, allocations: 23.84 kB / 0.5483 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.1229, allocations: 0 / 0.5483 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.086e-05/0.123, allocations: 7.984 kB / 0.5483 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.123, allocations: 0 / 0.5483 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.123, allocations: 4 kB / 0.5483 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001668/0.1232, allocations: 164.3 kB / 0.5485 GB, free: 404 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1232, allocations: 0 / 0.5485 GB, free: 404 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002097/0.1234, allocations: 15.92 kB / 0.5485 GB, free: 388 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.0004811/0.1239, allocations: 0.617 MB / 0.5491 GB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001082/0.124, allocations: 19.98 kB / 0.5491 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.124, allocations: 4 kB / 0.5491 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.11e-05/0.124, allocations: 11.98 kB / 0.5491 GB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.1242, allocations: 8.125 kB / 0.5491 GB, free: 15.69 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.126, allocations: 1.58 MB / 0.5507 GB, free: 14.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.1261, allocations: 96.95 kB / 0.5508 GB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.13e-05/0.1262, allocations: 15.98 kB / 0.5508 GB, free: 13.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.577e-05/0.1263, allocations: 27.42 kB / 0.5508 GB, free: 13.87 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1263, allocations: 4 kB / 0.5508 GB, free: 13.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.1509, allocations: 2.238 MB / 0.553 GB, free: 11.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.42, allocations: 16 kB / 0.553 GB, free: 11.73 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.561488685081713] Failed to read output from testmodel.py, exit status != 0: 11.585877140052617 11.783954202 11.661571891 Calling exit ...