Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_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.001181/0.001181, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 194.6 kB / 16.53 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00227/0.00227, allocations: 286.9 kB / 290.7 MB, free: 2.004 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9808/0.9808, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 100.6 kB / 0.5953 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1694, allocations: 86.98 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.002601/0.172, allocations: 0.58 MB / 0.6808 GB, free: 28 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 3.827e-05/0.1721, allocations: 12.62 kB / 0.6809 GB, free: 16 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.552e-05/0.1721, allocations: 0 / 0.6809 GB, free: 16 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.1722, allocations: 1.281 kB / 0.6809 GB, free: 16 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.83e-06/0.1722, allocations: 3.938 kB / 0.6809 GB, free: 12 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.585e-05/0.1722, allocations: 0 / 0.6809 GB, free: 12 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 4.179e-05/0.1723, allocations: 0 / 0.6809 GB, free: 12 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.66e-05/0.1723, allocations: 8.844 kB / 0.6809 GB, free: 4 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.539e-05/0.1723, allocations: 0 / 0.6809 GB, free: 4 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.572e-05/0.1724, allocations: 4.703 kB / 0.6809 GB, free: 0 / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.576e-06/0.1724, allocations: 0 / 0.6809 GB, free: 0 / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.845e-06/0.1724, allocations: 1.594 kB / 0.6809 GB, free: 0 / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.1724, allocations: 0 / 0.6809 GB, free: 0 / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 1.668e-05/0.1724, allocations: 0 / 0.6809 GB, free: 0 / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 4.352e-05/0.1725, allocations: 0 / 0.6809 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1725, allocations: 4.047 kB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1725, allocations: 4 kB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1725, allocations: 0 / 0.6809 GB, free: 15.99 MB / 494.1 MB 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.0002395/0.1728, allocations: 307.5 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.1728, allocations: 12.06 kB / 0.6812 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.921e-05/0.1728, allocations: 30.75 kB / 0.6812 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.901e-05/0.1729, allocations: 4.938 kB / 0.6812 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.314e-05/0.173, allocations: 160.7 kB / 0.6814 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.173, allocations: 4.312 kB / 0.6814 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.173, allocations: 384 / 0.6814 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.576e-05/0.1731, allocations: 38.25 kB / 0.6814 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1731, allocations: 7.875 kB / 0.6814 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.762e-06/0.1731, allocations: 0 / 0.6814 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1731, allocations: 0 / 0.6814 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.716e-05/0.1731, allocations: 3.984 kB / 0.6814 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001192/0.1732, allocations: 145.7 kB / 0.6816 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.63e-05/0.1733, allocations: 22.52 kB / 0.6816 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.1733, allocations: 12.95 kB / 0.6816 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.1733, allocations: 0 / 0.6816 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.1734, allocations: 30.56 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.1734, allocations: 0 / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001156/0.1735, allocations: 37.62 kB / 0.6817 GB, free: 15.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.1735, allocations: 55.41 kB / 0.6817 GB, free: 14.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.075e-05/0.1736, allocations: 93.86 kB / 0.6818 GB, free: 14.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.1736, allocations: 25.7 kB / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.532e-05/0.1736, allocations: 84.27 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.1736, allocations: 3.938 kB / 0.6819 GB, free: 14.72 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.1737, allocations: 9.719 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1738, allocations: 322.7 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.035e-05/0.1738, allocations: 0 / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-06/0.1738, allocations: 0 / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.552e-05/0.1738, allocations: 20.84 kB / 0.6823 GB, free: 14.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1738, allocations: 4.062 kB / 0.6823 GB, free: 14.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.651e-05/0.1739, allocations: 29.7 kB / 0.6823 GB, free: 14.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1739, allocations: 4 kB / 0.6823 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.1739, allocations: 3.938 kB / 0.6823 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.174, allocations: 4 kB / 0.6823 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.967e-05/0.174, allocations: 0 / 0.6823 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1741, allocations: 0 / 0.6823 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.098e-05/0.1741, allocations: 3.938 kB / 0.6823 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.1741, allocations: 0 / 0.6823 GB, free: 14.3 MB / 494.1 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.1742, allocations: 114.5 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/0.1742, allocations: 0 / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.1742, allocations: 15.05 kB / 0.6824 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1742, allocations: 0 / 0.6824 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1742, allocations: 0 / 0.6824 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1743, allocations: 0 / 0.6824 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.1744, allocations: 145.6 kB / 0.6826 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1744, allocations: 4 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.677e-05/0.1744, allocations: 0 / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1744, allocations: 0 / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.1744, allocations: 3.938 kB / 0.6826 GB, free: 13.97 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1744, allocations: 7.984 kB / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1744, allocations: 0 / 0.6826 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.499e-05/0.1745, allocations: 61.05 kB / 0.6826 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.1746, allocations: 77.11 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.1746, allocations: 3.938 kB / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.062e-05/0.1746, allocations: 0 / 0.6827 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.941e-05/0.1746, allocations: 7.922 kB / 0.6827 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.1746, allocations: 8.031 kB / 0.6827 GB, free: 13.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.152e-05/0.1747, allocations: 75.28 kB / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1747, allocations: 0 / 0.6828 GB, free: 13.7 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001961/0.1749, allocations: 0 / 0.6828 GB, free: 13.7 MB / 494.1 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003879/0.1753, allocations: 0.5851 MB / 0.6834 GB, free: 13.08 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.065e-05/0.1754, allocations: 11.98 kB / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.1754, allocations: 3.938 kB / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.033e-06/0.1754, allocations: 4 kB / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.1755, allocations: 3.938 kB / 0.6834 GB, free: 13.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.1758, allocations: 102.7 kB / 0.6835 GB, free: 12.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/0.176, allocations: 0.669 MB / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.448e-06/0.176, allocations: 0 / 0.6842 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/0.1761, allocations: 11.56 kB / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of SimCode: time 3e-07/0.1761, allocations: 0 / 0.6842 GB, free: 12.21 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01578/0.1918, allocations: 0.8729 MB / 0.685 GB, free: 11.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.771/7.963, allocations: 11.98 kB / 0.685 GB, free: 11.39 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)