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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 239.3 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 192.5 kB / 289.6 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03494/0.03494, allocations: 8.795 MB / 348.5 MB, free: 4.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 78.55 kB / 411.2 MB, free: 42 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08027/0.08207, allocations: 51.57 MB / 462.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices2): time 0.001762/0.08388, allocations: 0.5013 MB / 463.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.08526, allocations: 1.077 MB / 464.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.08531, allocations: 4 kB / 464.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.08557, allocations: 23.89 kB / 464.4 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.923e-05/0.08565, allocations: 23.92 kB / 464.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.289e-06/0.08566, allocations: 3.938 kB / 464.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.738e-05/0.08572, allocations: 23.97 kB / 464.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.08578, allocations: 7.938 kB / 464.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.579e-05/0.08588, allocations: 19.92 kB / 464.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.764e-05/0.08598, allocations: 23.91 kB / 464.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.08601, allocations: 0 / 464.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.088e-05/0.08602, allocations: 0 / 464.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001526/0.08618, allocations: 79.84 kB / 464.5 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.08623, allocations: 23.69 kB / 464.6 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.578e-05/0.0863, allocations: 51.72 kB / 464.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.08631, allocations: 0 / 464.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.08631, allocations: 0 / 464.6 MB, free: 12.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.08633, allocations: 0 / 464.6 MB, free: 12.41 MB / 302.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.0004459/0.08678, allocations: 411 kB / 465 MB, free: 11.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.08682, allocations: 16.03 kB / 465 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.702e-05/0.08688, allocations: 106 kB / 465.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.274e-05/0.08696, allocations: 84.12 kB / 465.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.08716, allocations: 288.1 kB / 465.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.447e-05/0.08722, allocations: 154.9 kB / 465.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.08728, allocations: 154.9 kB / 465.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.745e-05/0.08735, allocations: 109.1 kB / 465.9 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.08739, allocations: 79.28 kB / 466 MB, free: 10.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.269e-05/0.08745, allocations: 154.5 kB / 466.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-05/0.0875, allocations: 150.6 kB / 466.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.407e-05/0.08756, allocations: 150.6 kB / 466.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.08788, allocations: 481.9 kB / 466.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.538e-05/0.08799, allocations: 181 kB / 467.1 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.318e-05/0.08803, allocations: 84.14 kB / 467.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.289e-05/0.08806, allocations: 79.22 kB / 467.2 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.08811, allocations: 109.8 kB / 467.3 MB, free: 9.496 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.08812, allocations: 4 kB / 467.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 8.033e-05/0.08821, allocations: 33.61 kB / 467.4 MB, free: 9.453 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/0.08827, allocations: 130.7 kB / 467.5 MB, free: 9.312 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.08852, allocations: 227.8 kB / 467.7 MB, free: 9.078 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.08855, allocations: 25.7 kB / 467.8 MB, free: 9.047 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.08862, allocations: 120.1 kB / 467.9 MB, free: 8.926 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.08863, allocations: 0 / 467.9 MB, free: 8.926 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.08866, allocations: 13.72 kB / 467.9 MB, free: 8.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.0888, allocations: 326.8 kB / 468.2 MB, free: 8.578 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.019e-06/0.08881, allocations: 0 / 468.2 MB, free: 8.578 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-06/0.08882, allocations: 3.938 kB / 468.2 MB, free: 8.574 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.39e-05/0.08885, allocations: 75.28 kB / 468.3 MB, free: 8.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.898e-05/0.08889, allocations: 83.22 kB / 468.4 MB, free: 8.418 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.648e-05/0.08896, allocations: 45.44 kB / 468.4 MB, free: 8.367 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.089, allocations: 83.28 kB / 468.5 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.91e-05/0.08903, allocations: 83.28 kB / 468.6 MB, free: 8.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.384e-05/0.0891, allocations: 154.5 kB / 468.7 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.399e-05/0.08913, allocations: 75.28 kB / 468.8 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.434e-05/0.08919, allocations: 158.5 kB / 468.9 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.411e-05/0.08928, allocations: 75.28 kB / 469 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.08932, allocations: 79.27 kB / 469.1 MB, free: 7.668 MB / 302.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 0.0001432/0.08947, allocations: 296.4 kB / 469.4 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.08954, allocations: 120.8 kB / 469.5 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.713e-05/0.0896, allocations: 117.7 kB / 469.6 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.391e-05/0.08967, allocations: 184.2 kB / 469.8 MB, free: 6.938 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.649e-05/0.08973, allocations: 184.3 kB / 470 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.469e-05/0.0898, allocations: 188.2 kB / 470.2 MB, free: 6.559 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002443/0.09005, allocations: 433.2 kB / 470.6 MB, free: 6.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.6e-05/0.09013, allocations: 101 kB / 470.7 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.09017, allocations: 108.9 kB / 470.8 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001216/0.0903, allocations: 184.2 kB / 471 MB, free: 5.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/0.09044, allocations: 180.2 kB / 471.1 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.714e-05/0.0905, allocations: 184.2 kB / 471.3 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.932e-05/0.09056, allocations: 184.3 kB / 471.5 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.09071, allocations: 315.6 kB / 471.8 MB, free: 4.781 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-05/0.09081, allocations: 197.8 kB / 472 MB, free: 4.562 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.472e-05/0.09088, allocations: 184.3 kB / 472.2 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.949e-05/0.09098, allocations: 117 kB / 472.3 MB, free: 4.254 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/0.09106, allocations: 180.2 kB / 472.5 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.0911, allocations: 101 kB / 472.6 MB, free: 3.965 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001482/0.09125, allocations: 168.2 kB / 472.7 MB, free: 3.801 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09126, allocations: 0 / 472.7 MB, free: 3.801 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.09155, allocations: 4 kB / 472.7 MB, free: 3.797 MB / 302.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.0003784/0.09193, allocations: 0.8225 MB / 473.6 MB, free: 2.945 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.201e-05/0.09197, allocations: 0 / 473.6 MB, free: 2.945 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.09198, allocations: 0 / 473.6 MB, free: 2.945 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.09198, allocations: 0 / 473.6 MB, free: 2.945 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.09236, allocations: 461.6 kB / 474 MB, free: 2.492 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.09395, allocations: 2.042 MB / 476.1 MB, free: 368 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.09425, allocations: 0.7234 MB / 476.8 MB, free: 15.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.065e-05/0.09427, allocations: 0 / 476.8 MB, free: 15.61 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.09432, allocations: 23.44 kB / 476.8 MB, free: 15.59 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09432, allocations: 0 / 476.8 MB, free: 15.59 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.1149, allocations: 1.846 MB / 478.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.617/7.732, allocations: 3.625 kB / 478.7 MB, free: 13.8 MB / 318.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)