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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008954/0.0008953, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.3 MB / 239.4 MB, free: 5.25 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.000917/0.0009171, allocations: 184.4 kB / 290.6 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03261/0.03261, allocations: 8.804 MB / 350.5 MB, free: 4.543 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003468, allocations: 9.188 kB / 413.9 MB, free: 42.64 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09099/0.09135, allocations: 52.57 MB / 466.5 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.VectorsMatrices1): time 0.0006645/0.09206, allocations: 258.2 kB / 466.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.09335, allocations: 1.104 MB / 467.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.53e-05/0.0934, allocations: 0 / 467.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001481/0.09356, allocations: 4 kB / 467.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.09371, allocations: 23.91 kB / 467.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.72e-05/0.09377, allocations: 15.98 kB / 467.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.361e-05/0.09384, allocations: 35.84 kB / 467.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.498e-05/0.09389, allocations: 0 / 467.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.329e-05/0.09398, allocations: 31.84 kB / 468 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.0941, allocations: 35.89 kB / 468 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.09413, allocations: 4 kB / 468 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.09415, allocations: 0 / 468 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.993e-05/0.09423, allocations: 35.89 kB / 468 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.09429, allocations: 53.44 kB / 468.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.599e-05/0.09436, allocations: 51.77 kB / 468.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.09437, allocations: 0 / 468.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.09438, allocations: 0 / 468.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.09439, allocations: 0 / 468.1 MB, free: 11.32 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000487/0.09488, allocations: 403.3 kB / 468.5 MB, free: 10.88 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.09492, allocations: 12.03 kB / 468.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.089e-05/0.09496, allocations: 30.75 kB / 468.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.095, allocations: 16.75 kB / 468.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.0952, allocations: 224.6 kB / 468.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.09521, allocations: 384 / 468.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-06/0.09523, allocations: 384 / 468.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.716e-05/0.09531, allocations: 41.81 kB / 468.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.09532, allocations: 0 / 468.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.09533, allocations: 4 kB / 468.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.09534, allocations: 0 / 468.8 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.093e-05/0.09538, allocations: 7.938 kB / 468.9 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.09556, allocations: 193.7 kB / 469 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.158e-05/0.09564, allocations: 38.5 kB / 469.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.549e-05/0.09567, allocations: 16.86 kB / 469.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.0957, allocations: 0 / 469.1 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.09572, allocations: 34.5 kB / 469.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.09573, allocations: 0 / 469.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001505/0.09588, allocations: 69.59 kB / 469.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.09592, allocations: 55.34 kB / 469.3 MB, free: 10 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.09612, allocations: 218.3 kB / 469.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.09614, allocations: 29.7 kB / 469.5 MB, free: 9.746 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.0962, allocations: 108.1 kB / 469.6 MB, free: 9.637 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.09623, allocations: 11.8 kB / 469.6 MB, free: 9.625 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.09626, allocations: 13.72 kB / 469.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.09637, allocations: 318.8 kB / 469.9 MB, free: 9.285 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.772e-05/0.09639, allocations: 11.98 kB / 469.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.212e-05/0.09641, allocations: 4 kB / 470 MB, free: 9.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.39e-05/0.09646, allocations: 28.84 kB / 470 MB, free: 9.238 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.09647, allocations: 0 / 470 MB, free: 9.238 MB / 302.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.443e-05/0.09657, allocations: 65.47 kB / 470 MB, free: 9.168 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.09659, allocations: 4 kB / 470 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.0966, allocations: 0 / 470 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.09661, allocations: 0 / 470 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/0.09669, allocations: 4 kB / 470.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.0967, allocations: 0 / 470.1 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.09676, allocations: 11.98 kB / 470.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.09677, allocations: 0 / 470.1 MB, free: 9.148 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 (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 8.946e-05/0.09687, allocations: 125.8 kB / 470.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.001e-05/0.09689, allocations: 19.75 kB / 470.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.09703, allocations: 66.55 kB / 470.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.09704, allocations: 0 / 470.3 MB, free: 8.922 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.09705, allocations: 7.984 kB / 470.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.09706, allocations: 0 / 470.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.0972, allocations: 177.7 kB / 470.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.09721, allocations: 7.984 kB / 470.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.824e-05/0.09725, allocations: 7.938 kB / 470.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.09726, allocations: 4 kB / 470.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.09727, allocations: 0 / 470.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.09728, allocations: 0 / 470.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.09729, allocations: 0 / 470.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.09739, allocations: 81.03 kB / 470.5 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.09746, allocations: 101.2 kB / 470.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.535e-05/0.09748, allocations: 0 / 470.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.956e-05/0.09754, allocations: 7.984 kB / 470.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.09757, allocations: 15.81 kB / 470.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.09758, allocations: 4 kB / 470.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.09772, allocations: 160.3 kB / 470.8 MB, free: 8.273 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09773, allocations: 0 / 470.8 MB, free: 8.273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001786/0.09791, allocations: 12 kB / 470.8 MB, free: 8.262 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 (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.000364/0.09828, allocations: 0.6201 MB / 471.5 MB, free: 7.609 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.262e-05/0.09837, allocations: 19.92 kB / 471.5 MB, free: 7.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.09838, allocations: 0 / 471.5 MB, free: 7.59 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.884e-05/0.0984, allocations: 12 kB / 471.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.09857, allocations: 9.969 kB / 471.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.1001, allocations: 1.596 MB / 473.1 MB, free: 5.891 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.1004, allocations: 0.7041 MB / 473.8 MB, free: 5.16 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.905e-05/0.1005, allocations: 15.98 kB / 473.8 MB, free: 5.145 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.48e-05/0.1005, allocations: 31.42 kB / 473.9 MB, free: 5.117 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1005, allocations: 0 / 473.9 MB, free: 5.117 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01123/0.1118, allocations: 1.786 MB / 475.6 MB, free: 3.449 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/0.112, allocations: 195.9 kB / 475.8 MB, free: 3.199 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/1.745, allocations: 4 kB / 475.8 MB, free: 3.195 MB / 302.1 MB (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 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices1.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices1.pipe 2>&1)