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.005393/0.005402, allocations: 99.56 kB / 15.73 MB, free: 6.039 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.00141/0.00141, allocations: 195.2 kB / 16.68 MB, free: 5.961 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002563/0.002563, allocations: 283 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.174/1.174, allocations: 178.6 MB / 0.5074 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002646/0.002646, allocations: 103.3 kB / 0.6943 GB, free: 3.641 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5722/0.5749, allocations: 89.13 MB / 0.7813 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001919/0.5768, allocations: 0.5984 MB / 0.7819 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 4.639e-05/0.5769, allocations: 3.938 kB / 0.7819 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.087e-05/0.5769, allocations: 0 / 0.7819 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.492e-05/0.577, allocations: 0.6094 kB / 0.7819 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.446e-06/0.577, allocations: 0 / 0.7819 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.937e-05/0.577, allocations: 0 / 0.7819 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.619e-05/0.5771, allocations: 4.203 kB / 0.7819 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.142e-05/0.5772, allocations: 8.609 kB / 0.7819 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.74e-05/0.5772, allocations: 0 / 0.7819 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.975e-05/0.5772, allocations: 0 / 0.7819 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.5772, allocations: 0 / 0.7819 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.998e-06/0.5772, allocations: 0 / 0.7819 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.5773, allocations: 4.203 kB / 0.7819 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.5773, allocations: 3.938 kB / 0.7819 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 6.311e-05/0.5774, allocations: 4.594 kB / 0.7819 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.5774, allocations: 0 / 0.7819 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.464e-06/0.5774, allocations: 0 / 0.7819 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.912e-06/0.5774, allocations: 0 / 0.7819 GB, free: 13.46 MB / 0.5606 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.0004048/0.5778, allocations: 312.3 kB / 0.7822 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.5779, allocations: 9.844 kB / 0.7822 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.352e-05/0.5779, allocations: 30.75 kB / 0.7822 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.699e-05/0.5779, allocations: 5.547 kB / 0.7823 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.5781, allocations: 168.4 kB / 0.7824 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.5781, allocations: 384 / 0.7824 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.773e-06/0.5781, allocations: 384 / 0.7824 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.5783, allocations: 29.45 kB / 0.7824 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.5783, allocations: 3.938 kB / 0.7824 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.5783, allocations: 8 kB / 0.7825 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.5783, allocations: 0.5156 kB / 0.7825 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.389e-05/0.5783, allocations: 0.9062 kB / 0.7825 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001894/0.5785, allocations: 145.5 kB / 0.7826 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.856e-05/0.5786, allocations: 25.5 kB / 0.7826 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.452e-05/0.5786, allocations: 6.625 kB / 0.7826 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.5786, allocations: 0 / 0.7826 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.5787, allocations: 36.38 kB / 0.7827 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 2.926e-06/0.5787, allocations: 3.984 kB / 0.7827 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001199/0.5788, allocations: 35.66 kB / 0.7827 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.5789, allocations: 59.86 kB / 0.7828 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.025e-05/0.5789, allocations: 90.47 kB / 0.7828 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.579, allocations: 27.7 kB / 0.7829 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.579, allocations: 80.14 kB / 0.7829 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.579, allocations: 11.59 kB / 0.783 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.5791, allocations: 15.58 kB / 0.783 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.5792, allocations: 318.3 kB / 0.7833 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.828e-06/0.5792, allocations: 0 / 0.7833 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/0.5792, allocations: 0.7031 kB / 0.7833 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.932e-05/0.5793, allocations: 11.39 kB / 0.7833 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.5793, allocations: 0 / 0.7833 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.86e-05/0.5793, allocations: 34.05 kB / 0.7833 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.5794, allocations: 9.625 kB / 0.7833 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.5794, allocations: 4.828 kB / 0.7833 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.5794, allocations: 0 / 0.7833 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.5794, allocations: 3.344 kB / 0.7833 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.5795, allocations: 3.938 kB / 0.7833 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.108e-05/0.5795, allocations: 0.6094 kB / 0.7833 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-06/0.5795, allocations: 0 / 0.7833 GB, free: 11.84 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.836e-05/0.5796, allocations: 106.4 kB / 0.7834 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.462e-06/0.5796, allocations: 1.906 kB / 0.7834 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.5796, allocations: 15.67 kB / 0.7835 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.5796, allocations: 0 / 0.7835 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5796, allocations: 1.312 kB / 0.7835 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.5796, allocations: 0.7031 kB / 0.7835 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.5798, allocations: 144.9 kB / 0.7836 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.5798, allocations: 0 / 0.7836 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.004e-05/0.5798, allocations: 1.828 kB / 0.7836 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.5798, allocations: 2.719 kB / 0.7836 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/0.5798, allocations: 3.938 kB / 0.7836 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.5798, allocations: 0.6094 kB / 0.7836 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5798, allocations: 4 kB / 0.7836 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.665e-05/0.5799, allocations: 58.5 kB / 0.7837 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.58, allocations: 77.95 kB / 0.7837 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.58, allocations: 4.594 kB / 0.7837 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-06/0.58, allocations: 7.938 kB / 0.7838 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.17e-05/0.58, allocations: 0.5625 kB / 0.7838 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-06/0.58, allocations: 0 / 0.7838 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.082e-05/0.5801, allocations: 82.59 kB / 0.7838 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5801, allocations: 0 / 0.7838 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001733/0.5802, allocations: 0 / 0.7838 GB, free: 11.27 MB / 0.5606 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 (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.0005067/0.5808, allocations: 0.5958 MB / 0.7844 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.239e-05/0.5809, allocations: 16.92 kB / 0.7844 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.5809, allocations: 0 / 0.7844 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.43e-06/0.5809, allocations: 0.5625 kB / 0.7844 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.581, allocations: 1.938 kB / 0.7844 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.5813, allocations: 105.6 kB / 0.7845 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.5817, allocations: 0.6725 MB / 0.7852 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.378e-05/0.5817, allocations: 0 / 0.7852 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.5818, allocations: 7.438 kB / 0.7852 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.5818, allocations: 3.281 kB / 0.7852 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.6029, allocations: 0.9027 MB / 0.7861 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.009/8.612, allocations: 9.422 kB / 0.7861 GB, free: 9.445 MB / 0.5606 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1)