Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.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/Complex 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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_ModelTime",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.001166/0.001166, allocations: 99.39 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.085/1.085, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 12 kB / 0.5159 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1851, allocations: 83.41 MB / 0.5973 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime): time 0.0009034/0.1861, allocations: 323.5 kB / 0.5977 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 3.891e-05/0.1861, allocations: 3.984 kB / 0.5977 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.352e-05/0.1862, allocations: 0 / 0.5977 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.294e-05/0.1862, allocations: 0 / 0.5977 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.241e-06/0.1862, allocations: 0 / 0.5977 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.291e-05/0.1862, allocations: 4 kB / 0.5977 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.855e-05/0.1863, allocations: 0 / 0.5977 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.1863, allocations: 0 / 0.5977 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.239e-05/0.1863, allocations: 0 / 0.5977 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.146e-05/0.1864, allocations: 4 kB / 0.5977 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.1864, allocations: 0 / 0.5977 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.196e-06/0.1864, allocations: 4 kB / 0.5977 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.095e-06/0.1864, allocations: 0 / 0.5977 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.1864, allocations: 25.7 kB / 0.5977 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.277e-05/0.1865, allocations: 7.984 kB / 0.5977 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.1865, allocations: 3.938 kB / 0.5977 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.764e-06/0.1865, allocations: 0 / 0.5977 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.1865, allocations: 0 / 0.5977 GB, free: 7.398 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002269/0.1867, allocations: 303.4 kB / 0.598 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1868, allocations: 8.094 kB / 0.598 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.423e-05/0.1868, allocations: 42.5 kB / 0.598 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.834e-05/0.1869, allocations: 0 / 0.598 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.963e-05/0.187, allocations: 163 kB / 0.5982 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.187, allocations: 3.984 kB / 0.5982 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-06/0.187, allocations: 0 / 0.5982 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.196e-05/0.1871, allocations: 29.7 kB / 0.5982 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.1871, allocations: 3.938 kB / 0.5982 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.1871, allocations: 0 / 0.5982 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1871, allocations: 0 / 0.5982 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/0.1871, allocations: 7.938 kB / 0.5982 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.1873, allocations: 149.6 kB / 0.5984 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.484e-05/0.1873, allocations: 18.61 kB / 0.5984 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-06/0.1873, allocations: 0 / 0.5984 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1874, allocations: 34.55 kB / 0.5984 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.1874, allocations: 0 / 0.5984 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001128/0.1875, allocations: 37.7 kB / 0.5985 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.1875, allocations: 59.53 kB / 0.5985 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.488e-05/0.1876, allocations: 89.86 kB / 0.5986 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.1876, allocations: 25.7 kB / 0.5986 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.1876, allocations: 80.14 kB / 0.5987 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.1876, allocations: 3.906 kB / 0.5987 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.693e-06/0.1877, allocations: 0 / 0.5987 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1878, allocations: 318.8 kB / 0.599 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-06/0.1878, allocations: 0 / 0.599 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-06/0.1878, allocations: 4 kB / 0.599 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.532e-05/0.1878, allocations: 8.062 kB / 0.599 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1878, allocations: 0 / 0.599 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.73e-05/0.1879, allocations: 33.69 kB / 0.5991 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.1879, allocations: 8 kB / 0.5991 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1879, allocations: 0 / 0.5991 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1879, allocations: 3.938 kB / 0.5991 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.329e-05/0.188, allocations: 0 / 0.5991 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.188, allocations: 0 / 0.5991 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.206e-05/0.188, allocations: 3.984 kB / 0.5991 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.188, allocations: 8.031 kB / 0.5991 GB, free: 5.758 MB / 0.4981 GB 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 (1): * Single equations (assignments): 1 * 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.195e-05/0.1881, allocations: 111.7 kB / 0.5992 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.37e-06/0.1881, allocations: 3.938 kB / 0.5992 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.3e-05/0.1881, allocations: 3.125 kB / 0.5992 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1881, allocations: 3.984 kB / 0.5992 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1881, allocations: 4 kB / 0.5992 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1881, allocations: 4 kB / 0.5992 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.934e-05/0.1883, allocations: 149.9 kB / 0.5994 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1883, allocations: 0 / 0.5994 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.817e-06/0.1883, allocations: 0 / 0.5994 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.1883, allocations: 4 kB / 0.5994 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.862e-06/0.1883, allocations: 4 kB / 0.5994 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1883, allocations: 0 / 0.5994 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1883, allocations: 0 / 0.5994 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.495e-05/0.1884, allocations: 65 kB / 0.5994 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/0.1884, allocations: 81.06 kB / 0.5995 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.1884, allocations: 0 / 0.5995 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.662e-06/0.1884, allocations: 8.031 kB / 0.5995 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.126e-05/0.1885, allocations: 0 / 0.5995 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-06/0.1885, allocations: 0 / 0.5995 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.374e-05/0.1885, allocations: 75.28 kB / 0.5996 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1885, allocations: 0 / 0.5996 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001897/0.1887, allocations: 0 / 0.5996 GB, free: 5.16 MB / 0.4981 GB 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 (1): * Single equations (assignments): 1 * 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.0003304/0.1891, allocations: 0.6003 MB / 0.6002 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.606e-05/0.1891, allocations: 7.938 kB / 0.6002 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1891, allocations: 0 / 0.6002 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.314e-06/0.1891, allocations: 4 kB / 0.6002 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.281e-05/0.1892, allocations: 0 / 0.6002 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.1895, allocations: 104.3 kB / 0.6003 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/0.1898, allocations: 0.6811 MB / 0.6009 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.194e-05/0.1898, allocations: 0 / 0.6009 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.1898, allocations: 7.438 kB / 0.601 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1898, allocations: 0 / 0.601 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01074/0.2006, allocations: 0.6889 MB / 0.6016 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.2008, allocations: 188.5 kB / 0.6018 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/1.872, allocations: 0 / 0.6018 GB, free: 2.848 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_ModelTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1) Environment - environmentSimulation: