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.001189/0.001189, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04193/0.04193, allocations: 8.715 MB / 16.79 MB, free: 3.387 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 221.5 MB / 240.9 MB, free: 13.12 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.0009774/0.0009775, allocations: 96.48 kB / 293.9 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.858e-05/1.866e-05, allocations: 3.984 kB / 352.7 MB, free: 1.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 52.55 MB / 405.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3775/0.4918, allocations: 76.22 MB / 481.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.492, allocations: 64.12 kB / 481.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003259/0.4953, allocations: 1.148 MB / 482.7 MB, free: 9.762 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.4953, allocations: 3.938 kB / 482.7 MB, free: 9.758 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.4953, allocations: 0 / 482.7 MB, free: 9.758 MB / 346.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.0002372/0.4956, allocations: 365.3 kB / 483.1 MB, free: 9.363 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4956, allocations: 11.98 kB / 483.1 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/0.4957, allocations: 15.41 kB / 483.1 MB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.4959, allocations: 208.3 kB / 483.3 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.4959, allocations: 2.953 kB / 483.3 MB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.4959, allocations: 4 kB / 483.3 MB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.844e-05/0.4959, allocations: 11.55 kB / 483.3 MB, free: 9.098 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.206e-05/0.496, allocations: 33.69 kB / 483.3 MB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.496, allocations: 9.547 kB / 483.4 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.496, allocations: 4 kB / 483.4 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.4961, allocations: 0 / 483.4 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.4962, allocations: 169.4 kB / 483.5 MB, free: 8.855 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.289e-05/0.4963, allocations: 30.19 kB / 483.6 MB, free: 8.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.008e-05/0.4963, allocations: 12.36 kB / 483.6 MB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.4963, allocations: 7.984 kB / 483.6 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.4963, allocations: 30.56 kB / 483.6 MB, free: 8.762 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.4963, allocations: 4 kB / 483.6 MB, free: 8.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001306/0.4965, allocations: 53.25 kB / 483.7 MB, free: 8.703 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.4965, allocations: 51.41 kB / 483.7 MB, free: 8.641 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.4967, allocations: 189.3 kB / 483.9 MB, free: 8.473 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.4967, allocations: 29.64 kB / 483.9 MB, free: 8.438 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.4967, allocations: 104.2 kB / 484 MB, free: 8.348 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.4967, allocations: 15.25 kB / 484 MB, free: 8.336 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.4968, allocations: 0 / 484 MB, free: 8.336 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.763e-05/0.4968, allocations: 329.6 kB / 484.4 MB, free: 8.008 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.491e-05/0.4968, allocations: 11.36 kB / 484.4 MB, free: 8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.858e-06/0.4969, allocations: 4.562 kB / 484.4 MB, free: 7.996 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.054e-05/0.4969, allocations: 9.094 kB / 484.4 MB, free: 7.992 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4969, allocations: 0 / 484.4 MB, free: 7.992 MB / 346.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.501e-05/0.497, allocations: 57.08 kB / 484.4 MB, free: 7.934 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.497, allocations: 5.875 kB / 484.4 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.497, allocations: 3.828 kB / 484.5 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.497, allocations: 5.031 kB / 484.5 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.271e-05/0.4971, allocations: 4.625 kB / 484.5 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.4971, allocations: 4 kB / 484.5 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.922e-05/0.4972, allocations: 7.922 kB / 484.5 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.4972, allocations: 4 kB / 484.5 MB, free: 7.906 MB / 346.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 5.016e-05/0.4973, allocations: 108.9 kB / 484.6 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.545e-05/0.4974, allocations: 57.06 kB / 484.6 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.4974, allocations: 7.906 kB / 484.6 MB, free: 7.727 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.4975, allocations: 62.97 kB / 484.7 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4975, allocations: 4 kB / 484.7 MB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4975, allocations: 4 kB / 484.7 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.4975, allocations: 4.797 kB / 484.7 MB, free: 7.656 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.419e-05/0.4976, allocations: 165.3 kB / 484.9 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.4976, allocations: 0 / 484.9 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.4977, allocations: 7.938 kB / 484.9 MB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4977, allocations: 0 / 484.9 MB, free: 7.465 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.4977, allocations: 3.984 kB / 484.9 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4977, allocations: 2.578 kB / 484.9 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.4977, allocations: 0 / 484.9 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.565e-05/0.4978, allocations: 88.64 kB / 485 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.4978, allocations: 85.77 kB / 485.1 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.4979, allocations: 3.984 kB / 485.1 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.612e-05/0.4979, allocations: 4 kB / 485.1 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.4979, allocations: 0 / 485.1 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.4979, allocations: 4 kB / 485.1 MB, free: 7.246 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.261e-05/0.498, allocations: 154.3 kB / 485.2 MB, free: 7.117 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.498, allocations: 0 / 485.2 MB, free: 7.117 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001819/0.4982, allocations: 11.98 kB / 485.2 MB, free: 7.105 MB / 346.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.0002307/0.4985, allocations: 0.6222 MB / 485.9 MB, free: 6.457 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.169e-05/0.4985, allocations: 17.55 kB / 485.9 MB, free: 6.445 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4986, allocations: 0 / 485.9 MB, free: 6.445 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.268e-05/0.4986, allocations: 8.844 kB / 485.9 MB, free: 6.438 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001192/0.4987, allocations: 6.703 kB / 485.9 MB, free: 6.438 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.499, allocations: 188.9 kB / 486.1 MB, free: 6.223 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.4992, allocations: 0.7114 MB / 486.8 MB, free: 5.488 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.564e-05/0.4992, allocations: 13.06 kB / 486.8 MB, free: 5.473 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.416e-05/0.4993, allocations: 30.95 kB / 486.8 MB, free: 5.461 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4993, allocations: 0 / 486.8 MB, free: 5.461 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02218/0.5215, allocations: 1.389 MB / 488.2 MB, free: 4.109 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.5217, allocations: 138.5 kB / 488.4 MB, free: 3.918 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/2.085, allocations: 0 / 488.4 MB, free: 3.918 MB / 346.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)