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.001425/0.001425, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.452/1.452, allocations: 230.6 MB / 250.5 MB, free: 9.395 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.001587/0.001587, allocations: 219.5 kB / 306.7 MB, free: 4.348 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.04081/0.04081, allocations: 8.916 MB / 371.7 MB, free: 3.484 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.002437/0.002437, allocations: 79.89 kB / 496.4 MB, free: 9.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2743, allocations: 55.56 MB / 0.5391 GB, free: 26.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.001368/0.2757, allocations: 0.533 MB / 0.5396 GB, free: 26.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009881/0.2767, allocations: 1.172 MB / 0.5407 GB, free: 25.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.025e-05/0.2767, allocations: 3 kB / 0.5407 GB, free: 25.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.2769, allocations: 11.06 kB / 0.5407 GB, free: 25.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.288e-05/0.277, allocations: 24.84 kB / 0.5408 GB, free: 25.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.623e-05/0.277, allocations: 14.91 kB / 0.5408 GB, free: 25.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.61e-05/0.2771, allocations: 35.16 kB / 0.5408 GB, free: 25.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.2771, allocations: 6.734 kB / 0.5408 GB, free: 25.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.2773, allocations: 28.02 kB / 0.5408 GB, free: 25.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.2774, allocations: 45.25 kB / 0.5409 GB, free: 25.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.2774, allocations: 3.031 kB / 0.5409 GB, free: 25.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.2774, allocations: 3 kB / 0.5409 GB, free: 25.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.019e-05/0.2775, allocations: 37.05 kB / 0.5409 GB, free: 25.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.494e-05/0.2775, allocations: 25.81 kB / 0.5409 GB, free: 25.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.241e-05/0.2776, allocations: 51.34 kB / 0.541 GB, free: 25.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2776, allocations: 0 / 0.541 GB, free: 25.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.2776, allocations: 0 / 0.541 GB, free: 25.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.2776, allocations: 0 / 0.541 GB, free: 25.35 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.0004652/0.2781, allocations: 414 kB / 0.5414 GB, free: 24.95 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.2781, allocations: 9.781 kB / 0.5414 GB, free: 24.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.485e-05/0.2781, allocations: 3.406 kB / 0.5414 GB, free: 24.95 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.922e-05/0.2782, allocations: 34.75 kB / 0.5414 GB, free: 24.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.186e-05/0.2782, allocations: 11.97 kB / 0.5414 GB, free: 24.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.2784, allocations: 226.6 kB / 0.5417 GB, free: 24.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.2784, allocations: 4.312 kB / 0.5417 GB, free: 24.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.2784, allocations: 384 / 0.5417 GB, free: 24.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.399e-05/0.2785, allocations: 43.48 kB / 0.5417 GB, free: 24.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.2785, allocations: 0 / 0.5417 GB, free: 24.63 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.2785, allocations: 0 / 0.5417 GB, free: 24.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2785, allocations: 7.094 kB / 0.5417 GB, free: 24.63 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.333e-05/0.2785, allocations: 14.48 kB / 0.5417 GB, free: 24.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.2787, allocations: 193.5 kB / 0.5419 GB, free: 24.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.124e-05/0.2787, allocations: 35.67 kB / 0.5419 GB, free: 24.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.2788, allocations: 15.41 kB / 0.542 GB, free: 24.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.2788, allocations: 7.125 kB / 0.542 GB, free: 24.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.68e-05/0.2788, allocations: 30.56 kB / 0.542 GB, free: 24.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.2788, allocations: 0 / 0.542 GB, free: 24.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001565/0.279, allocations: 70.34 kB / 0.5421 GB, free: 24.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.158e-05/0.279, allocations: 55.34 kB / 0.5421 GB, free: 24.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.2791, allocations: 209.5 kB / 0.5423 GB, free: 24.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.626e-06/0.2792, allocations: 25.7 kB / 0.5423 GB, free: 24.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.393e-05/0.2792, allocations: 106 kB / 0.5424 GB, free: 23.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.2792, allocations: 11.05 kB / 0.5425 GB, free: 23.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.2792, allocations: 16.84 kB / 0.5425 GB, free: 23.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.913e-05/0.2793, allocations: 324.8 kB / 0.5428 GB, free: 23.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.2793, allocations: 7.375 kB / 0.5428 GB, free: 23.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.262e-05/0.2793, allocations: 7.031 kB / 0.5428 GB, free: 23.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/0.2794, allocations: 25 kB / 0.5428 GB, free: 23.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2794, allocations: 0 / 0.5428 GB, free: 23.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.047e-05/0.2794, allocations: 64.25 kB / 0.5429 GB, free: 23.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.2794, allocations: 6.438 kB / 0.5429 GB, free: 23.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.2794, allocations: 3.938 kB / 0.5429 GB, free: 23.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2795, allocations: 0 / 0.5429 GB, free: 23.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.094e-05/0.2795, allocations: 3.062 kB / 0.5429 GB, free: 23.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.2795, allocations: 3.094 kB / 0.5429 GB, free: 23.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.2796, allocations: 7.469 kB / 0.5429 GB, free: 23.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.2796, allocations: 3.344 kB / 0.5429 GB, free: 23.54 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 5.665e-05/0.2797, allocations: 121.8 kB / 0.543 GB, free: 23.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.2797, allocations: 21.81 kB / 0.543 GB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.2798, allocations: 61.67 kB / 0.5431 GB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.2798, allocations: 3.938 kB / 0.5431 GB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2798, allocations: 3.281 kB / 0.5431 GB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2798, allocations: 0 / 0.5431 GB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.801e-05/0.2799, allocations: 187.2 kB / 0.5433 GB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2799, allocations: 3.938 kB / 0.5433 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.2799, allocations: 11.38 kB / 0.5433 GB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.2799, allocations: 3.25 kB / 0.5433 GB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.2799, allocations: 0 / 0.5433 GB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2799, allocations: 0 / 0.5433 GB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2799, allocations: 0 / 0.5433 GB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.913e-05/0.28, allocations: 82.33 kB / 0.5434 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.28, allocations: 102.3 kB / 0.5435 GB, free: 22.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.28, allocations: 4 kB / 0.5435 GB, free: 22.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.008e-05/0.2801, allocations: 7.219 kB / 0.5435 GB, free: 22.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.2801, allocations: 3.469 kB / 0.5435 GB, free: 22.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.2801, allocations: 3.094 kB / 0.5435 GB, free: 22.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.2802, allocations: 166.5 kB / 0.5437 GB, free: 22.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2802, allocations: 0 / 0.5437 GB, free: 22.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001791/0.2804, allocations: 6.281 kB / 0.5437 GB, free: 22.85 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.0001949/0.2806, allocations: 0.6194 MB / 0.5443 GB, free: 22.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.741e-05/0.2807, allocations: 20.23 kB / 0.5443 GB, free: 22.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2807, allocations: 0 / 0.5443 GB, free: 22.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.806e-05/0.2807, allocations: 17.55 kB / 0.5443 GB, free: 22.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.2808, allocations: 0 / 0.5443 GB, free: 22.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.2819, allocations: 1.583 MB / 0.5459 GB, free: 21.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.282, allocations: 0.7046 MB / 0.5465 GB, free: 20.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.89e-05/0.2821, allocations: 20.42 kB / 0.5466 GB, free: 20.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.2821, allocations: 30.17 kB / 0.5466 GB, free: 20.29 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2821, allocations: 0 / 0.5466 GB, free: 20.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.2984, allocations: 2.088 MB / 0.5486 GB, free: 19.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.729/9.027, allocations: 8.75 kB / 0.5486 GB, free: 19.86 MB / 382.1 MB " [Timeout remaining time 651] (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: 11.686606498027686] Failed to read output from testmodel.py, exit status != 0: 9.152526665013283 9.172149382 8.890892585 Calling exit ...