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.00198/0.00198, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6552/0.6552, allocations: 90.91 MB / 99.34 MB, free: 2.227 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 221.5 MB / 343.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008519/0.0008519, allocations: 87.2 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.42e-05/2.412e-05, allocations: 8 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1545, allocations: 72.31 MB / 0.5536 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5006/0.6552, allocations: 101.5 MB / 0.6528 GB, free: 8.473 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/0.6555, allocations: 76.56 kB / 0.6529 GB, free: 8.43 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005333/0.6609, allocations: 1.745 MB / 0.6546 GB, free: 6.914 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6609, allocations: 0.75 kB / 0.6546 GB, free: 6.914 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.6609, allocations: 0 / 0.6546 GB, free: 6.914 MB / 458.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.0004364/0.6613, allocations: 389.5 kB / 0.6549 GB, free: 6.492 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.6614, allocations: 8.031 kB / 0.6549 GB, free: 6.484 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.6614, allocations: 15.91 kB / 0.655 GB, free: 6.469 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.6617, allocations: 198.1 kB / 0.6551 GB, free: 6.242 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.6617, allocations: 4 kB / 0.6551 GB, free: 6.238 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.6617, allocations: 4 kB / 0.6551 GB, free: 6.234 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00016/0.6619, allocations: 63.91 kB / 0.6552 GB, free: 6.191 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.662, allocations: 84.28 kB / 0.6553 GB, free: 6.117 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.662, allocations: 0 / 0.6553 GB, free: 6.117 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.6621, allocations: 3.953 kB / 0.6553 GB, free: 6.113 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.6621, allocations: 4 kB / 0.6553 GB, free: 6.109 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005688/0.6627, allocations: 355.3 kB / 0.6556 GB, free: 5.754 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.34e-05/0.6627, allocations: 44.83 kB / 0.6557 GB, free: 5.711 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.232e-05/0.6628, allocations: 35.03 kB / 0.6557 GB, free: 5.684 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.6628, allocations: 4 kB / 0.6557 GB, free: 5.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/0.6629, allocations: 34 kB / 0.6557 GB, free: 5.641 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.6629, allocations: 0 / 0.6557 GB, free: 5.641 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002664/0.6632, allocations: 94.25 kB / 0.6558 GB, free: 5.559 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.6632, allocations: 51.41 kB / 0.6559 GB, free: 5.496 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.739e-05/0.6633, allocations: 117.3 kB / 0.656 GB, free: 5.379 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.6633, allocations: 25.7 kB / 0.656 GB, free: 5.348 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.6634, allocations: 117.5 kB / 0.6561 GB, free: 5.242 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.6634, allocations: 11.81 kB / 0.6561 GB, free: 5.23 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.6635, allocations: 0 / 0.6561 GB, free: 5.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.6636, allocations: 320.5 kB / 0.6565 GB, free: 4.914 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.14e-05/0.6636, allocations: 27.3 kB / 0.6565 GB, free: 4.895 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/0.6637, allocations: 21.12 kB / 0.6565 GB, free: 4.883 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.025e-05/0.6638, allocations: 26.86 kB / 0.6565 GB, free: 4.863 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6638, allocations: 0 / 0.6565 GB, free: 4.863 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001649/0.6639, allocations: 99.08 kB / 0.6566 GB, free: 4.777 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.664, allocations: 12 kB / 0.6566 GB, free: 4.766 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.664, allocations: 0 / 0.6566 GB, free: 4.766 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.664, allocations: 0 / 0.6566 GB, free: 4.766 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.6642, allocations: 20.86 kB / 0.6567 GB, free: 4.746 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.6642, allocations: 0 / 0.6567 GB, free: 4.746 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.107e-05/0.6643, allocations: 11.98 kB / 0.6567 GB, free: 4.734 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.6643, allocations: 6.75 kB / 0.6567 GB, free: 4.73 MB / 458.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 7.989e-05/0.6644, allocations: 112.9 kB / 0.6568 GB, free: 4.613 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001829/0.6646, allocations: 100.9 kB / 0.6569 GB, free: 4.527 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.6646, allocations: 7.906 kB / 0.6569 GB, free: 4.52 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000234/0.6648, allocations: 124.6 kB / 0.657 GB, free: 4.414 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.6649, allocations: 7.984 kB / 0.657 GB, free: 4.406 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.6649, allocations: 0 / 0.657 GB, free: 4.406 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.6649, allocations: 0 / 0.657 GB, free: 4.406 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.6651, allocations: 175 kB / 0.6572 GB, free: 4.211 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.6651, allocations: 0 / 0.6572 GB, free: 4.211 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.6652, allocations: 31.88 kB / 0.6572 GB, free: 4.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6652, allocations: 0 / 0.6572 GB, free: 4.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.6652, allocations: 11.05 kB / 0.6572 GB, free: 4.172 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.6652, allocations: 4 kB / 0.6572 GB, free: 4.168 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6652, allocations: 0 / 0.6572 GB, free: 4.168 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.6655, allocations: 183.4 kB / 0.6574 GB, free: 3.992 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.6655, allocations: 89 kB / 0.6575 GB, free: 3.887 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.6655, allocations: 7.953 kB / 0.6575 GB, free: 3.879 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.6656, allocations: 8 kB / 0.6575 GB, free: 3.871 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.6657, allocations: 7.984 kB / 0.6575 GB, free: 3.863 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.6657, allocations: 0 / 0.6575 GB, free: 3.863 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.852e-05/0.6658, allocations: 99.55 kB / 0.6576 GB, free: 3.773 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6658, allocations: 4 kB / 0.6576 GB, free: 3.77 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002191/0.666, allocations: 12 kB / 0.6576 GB, free: 3.758 MB / 458.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.0005372/0.6666, allocations: 0.7383 MB / 0.6583 GB, free: 3.016 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001382/0.6667, allocations: 71.16 kB / 0.6584 GB, free: 2.965 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6667, allocations: 0 / 0.6584 GB, free: 2.965 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.882e-05/0.6668, allocations: 43.55 kB / 0.6584 GB, free: 2.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.6669, allocations: 8.391 kB / 0.6585 GB, free: 2.926 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004761/0.6674, allocations: 183.5 kB / 0.6586 GB, free: 2.723 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.6677, allocations: 0.7002 MB / 0.6593 GB, free: 1.996 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.195e-05/0.6678, allocations: 15.98 kB / 0.6593 GB, free: 1.98 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/0.6679, allocations: 29.73 kB / 0.6594 GB, free: 1.965 MB / 458.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6679, allocations: 0 / 0.6594 GB, free: 1.965 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02031/0.6882, allocations: 1.359 MB / 0.6607 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/0.6884, allocations: 141.5 kB / 0.6608 GB, free: 428 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/2.207, allocations: 0 / 0.6608 GB, free: 428 kB / 458.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)