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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04105/0.04105, allocations: 8.702 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 221.4 MB / 246 MB, free: 3.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009425/0.0009426, allocations: 94.89 kB / 299.1 MB, free: 3.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.155e-05/4.164e-05, allocations: 4 kB / 359.6 MB, free: 6.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3143, allocations: 52.55 MB / 412.2 MB, free: 22.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.4281, allocations: 76.89 MB / 489 MB, free: 9.547 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000234/0.4284, allocations: 59.97 kB / 489.1 MB, free: 9.488 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003687/0.4321, allocations: 1.163 MB / 490.3 MB, free: 8.328 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4321, allocations: 0 / 490.3 MB, free: 8.328 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.4322, allocations: 0 / 490.3 MB, free: 8.328 MB / 362.7 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.0003948/0.4326, allocations: 366.3 kB / 490.6 MB, free: 7.926 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.4326, allocations: 8.031 kB / 490.6 MB, free: 7.918 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.4327, allocations: 38.52 kB / 490.7 MB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.4327, allocations: 11.81 kB / 490.7 MB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.433, allocations: 219.4 kB / 490.9 MB, free: 7.605 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.433, allocations: 0 / 490.9 MB, free: 7.605 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.388e-06/0.433, allocations: 0 / 490.9 MB, free: 7.605 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.977e-05/0.4331, allocations: 45.62 kB / 490.9 MB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.4331, allocations: 0 / 490.9 MB, free: 7.555 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.4331, allocations: 7.938 kB / 490.9 MB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4331, allocations: 3.953 kB / 491 MB, free: 7.543 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.253e-05/0.4332, allocations: 12 kB / 491 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.4334, allocations: 185.7 kB / 491.1 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.862e-05/0.4335, allocations: 30.56 kB / 491.2 MB, free: 7.262 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.718e-05/0.4335, allocations: 16.86 kB / 491.2 MB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.4336, allocations: 0 / 491.2 MB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.4336, allocations: 38.5 kB / 491.2 MB, free: 7.195 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4336, allocations: 0 / 491.2 MB, free: 7.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.000162/0.4338, allocations: 53.69 kB / 491.3 MB, free: 7.137 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.4338, allocations: 55.36 kB / 491.3 MB, free: 7.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.434, allocations: 193.5 kB / 491.5 MB, free: 6.875 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.4341, allocations: 25.7 kB / 491.5 MB, free: 6.844 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.4341, allocations: 112.1 kB / 491.7 MB, free: 6.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.4342, allocations: 11.81 kB / 491.7 MB, free: 6.719 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.4342, allocations: 4 kB / 491.7 MB, free: 6.715 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4343, allocations: 322.8 kB / 492 MB, free: 6.391 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.163e-05/0.4343, allocations: 8 kB / 492 MB, free: 6.383 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.571e-05/0.4344, allocations: 7.984 kB / 492 MB, free: 6.375 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.519e-05/0.4344, allocations: 4 kB / 492 MB, free: 6.371 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.4344, allocations: 3.938 kB / 492 MB, free: 6.367 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.945e-05/0.4345, allocations: 61.67 kB / 492.1 MB, free: 6.301 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4345, allocations: 7.984 kB / 492.1 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.4345, allocations: 48 / 492.1 MB, free: 6.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.4346, allocations: 7.984 kB / 492.1 MB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.429e-05/0.4346, allocations: 8 kB / 492.1 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4347, allocations: 0 / 492.1 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.273e-05/0.4347, allocations: 15.88 kB / 492.1 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.4347, allocations: 0 / 492.1 MB, free: 6.262 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.097e-05/0.4348, allocations: 109 kB / 492.2 MB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.763e-05/0.4348, allocations: 11.81 kB / 492.2 MB, free: 6.137 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001476/0.435, allocations: 66.55 kB / 492.3 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.435, allocations: 0 / 492.3 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.435, allocations: 8 kB / 492.3 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.435, allocations: 0 / 492.3 MB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.4352, allocations: 181.6 kB / 492.5 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.4352, allocations: 0 / 492.5 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.4352, allocations: 4 kB / 492.5 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4352, allocations: 0 / 492.5 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.4353, allocations: 4 kB / 492.5 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4353, allocations: 0 / 492.5 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.4353, allocations: 7.984 kB / 492.5 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.4354, allocations: 88.86 kB / 492.6 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.201e-05/0.4355, allocations: 92.92 kB / 492.7 MB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.4355, allocations: 0 / 492.7 MB, free: 5.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.887e-05/0.4355, allocations: 3.984 kB / 492.7 MB, free: 5.586 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.4356, allocations: 4 kB / 492.7 MB, free: 5.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.4356, allocations: 0 / 492.7 MB, free: 5.582 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001357/0.4357, allocations: 164.3 kB / 492.8 MB, free: 5.422 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4357, allocations: 0 / 492.8 MB, free: 5.422 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000176/0.4359, allocations: 12 kB / 492.9 MB, free: 5.41 MB / 362.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003809/0.4363, allocations: 0.6241 MB / 493.5 MB, free: 4.758 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.366e-05/0.4364, allocations: 23.92 kB / 493.5 MB, free: 4.734 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4364, allocations: 0 / 493.5 MB, free: 4.734 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.555e-05/0.4364, allocations: 4 kB / 493.5 MB, free: 4.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.4366, allocations: 9.562 kB / 493.5 MB, free: 4.723 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.437, allocations: 186.6 kB / 493.7 MB, free: 4.504 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.4374, allocations: 0.7085 MB / 494.4 MB, free: 3.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.416e-05/0.4374, allocations: 20.16 kB / 494.4 MB, free: 3.746 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.155e-05/0.4375, allocations: 27.42 kB / 494.5 MB, free: 3.719 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4375, allocations: 0 / 494.5 MB, free: 3.719 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01261/0.4501, allocations: 1.727 MB / 496.2 MB, free: 2.105 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/0.4504, allocations: 154.5 kB / 496.3 MB, free: 1.879 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/1.949, allocations: 0 / 496.3 MB, free: 1.879 MB / 362.7 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/linux/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)