Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions",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.001028/0.001028, allocations: 178.5 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.452/0.452, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 221.3 MB / 348.3 MB, free: 452 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000835/0.000835, allocations: 102.1 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.029e-05, allocations: 4 kB / 0.4897 GB, free: 5.262 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3284, allocations: 72.3 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1253/0.4537, allocations: 102.2 MB / 0.6601 GB, free: 2.094 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.4541, allocations: 74.47 kB / 0.6602 GB, free: 2.023 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005308/0.4594, allocations: 1.755 MB / 0.6619 GB, free: 280 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4594, allocations: 0 / 0.6619 GB, free: 280 kB / 474.7 MB Notification: Performance of Transformations before backend: time 2.249e-05/0.4595, allocations: 4 kB / 0.6619 GB, free: 276 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000471/0.4599, allocations: 390.2 kB / 0.6623 GB, free: 15.84 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.46, allocations: 17.02 kB / 0.6623 GB, free: 15.83 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.203e-05/0.4601, allocations: 38.56 kB / 0.6623 GB, free: 15.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.4601, allocations: 7.906 kB / 0.6623 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.4603, allocations: 195.8 kB / 0.6625 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.4603, allocations: 8 kB / 0.6625 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.4604, allocations: 4 kB / 0.6625 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.4606, allocations: 99.12 kB / 0.6626 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.4606, allocations: 0 / 0.6626 GB, free: 15.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.4606, allocations: 7.953 kB / 0.6626 GB, free: 15.42 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4606, allocations: 4 kB / 0.6626 GB, free: 15.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.4607, allocations: 63.98 kB / 0.6627 GB, free: 15.36 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005873/0.4613, allocations: 386 kB / 0.6631 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.4614, allocations: 46.56 kB / 0.6631 GB, free: 14.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.793e-05/0.4615, allocations: 36.97 kB / 0.6632 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.77e-05/0.4615, allocations: 7.984 kB / 0.6632 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.4616, allocations: 30.56 kB / 0.6632 GB, free: 14.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.4616, allocations: 0 / 0.6632 GB, free: 14.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002353/0.4618, allocations: 97.52 kB / 0.6633 GB, free: 14.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.4619, allocations: 51.41 kB / 0.6633 GB, free: 14.62 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.219e-05/0.462, allocations: 123.7 kB / 0.6635 GB, free: 14.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.462, allocations: 25.7 kB / 0.6635 GB, free: 14.46 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.164e-05/0.462, allocations: 112.3 kB / 0.6636 GB, free: 14.35 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.4621, allocations: 15.72 kB / 0.6636 GB, free: 14.34 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-06/0.4621, allocations: 0 / 0.6636 GB, free: 14.34 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.4622, allocations: 322.8 kB / 0.6639 GB, free: 14.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.635e-05/0.4623, allocations: 23.98 kB / 0.6639 GB, free: 13.99 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.007e-05/0.4623, allocations: 24 kB / 0.664 GB, free: 13.96 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.862e-05/0.4624, allocations: 35.78 kB / 0.664 GB, free: 13.93 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.4624, allocations: 4 kB / 0.664 GB, free: 13.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001582/0.4625, allocations: 105.5 kB / 0.6641 GB, free: 13.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.4626, allocations: 4 kB / 0.6641 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4626, allocations: 0 / 0.6641 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4626, allocations: 0 / 0.6641 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.4627, allocations: 19.98 kB / 0.6641 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4627, allocations: 0 / 0.6641 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.669e-05/0.4628, allocations: 23.92 kB / 0.6641 GB, free: 13.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.4629, allocations: 0 / 0.6641 GB, free: 13.77 MB / 490.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 (6): * Single equations (assignments): 6 * 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 6.89e-05/0.4629, allocations: 108.9 kB / 0.6642 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.463, allocations: 11.91 kB / 0.6643 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002258/0.4632, allocations: 126 kB / 0.6644 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.4632, allocations: 0 / 0.6644 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.4632, allocations: 0 / 0.6644 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4632, allocations: 0 / 0.6644 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002093/0.4634, allocations: 201.6 kB / 0.6646 GB, free: 13.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.4635, allocations: 7.953 kB / 0.6646 GB, free: 13.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.4636, allocations: 23.97 kB / 0.6646 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.4636, allocations: 4 kB / 0.6646 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.4636, allocations: 4 kB / 0.6646 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4636, allocations: 0 / 0.6646 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4636, allocations: 0 / 0.6646 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.4638, allocations: 195.5 kB / 0.6648 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.4639, allocations: 92.97 kB / 0.6649 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.4639, allocations: 4 kB / 0.6649 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-05/0.464, allocations: 11.98 kB / 0.6649 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.464, allocations: 7.984 kB / 0.6649 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.4641, allocations: 4 kB / 0.6649 GB, free: 12.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.762e-05/0.4641, allocations: 100.7 kB / 0.665 GB, free: 12.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4641, allocations: 0 / 0.665 GB, free: 12.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002102/0.4644, allocations: 19.94 kB / 0.665 GB, free: 12.77 MB / 490.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 (6): * Single equations (assignments): 6 * 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.0004761/0.4648, allocations: 0.7475 MB / 0.6658 GB, free: 12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.465, allocations: 67.98 kB / 0.6658 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.465, allocations: 0 / 0.6658 GB, free: 11.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.83e-05/0.4651, allocations: 39.98 kB / 0.6659 GB, free: 11.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.4652, allocations: 4 kB / 0.6659 GB, free: 11.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004416/0.4656, allocations: 194.7 kB / 0.666 GB, free: 11.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.4659, allocations: 0.7016 MB / 0.6667 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.389e-05/0.466, allocations: 19.97 kB / 0.6667 GB, free: 10.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.466, allocations: 23.42 kB / 0.6668 GB, free: 10.89 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.466, allocations: 0 / 0.6668 GB, free: 10.89 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01187/0.4779, allocations: 1.683 MB / 0.6684 GB, free: 9.363 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/0.4782, allocations: 145 kB / 0.6686 GB, free: 9.141 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.478/1.956, allocations: 0 / 0.6686 GB, free: 9.141 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_VectorFunctions.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)