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.007236/0.007236, allocations: 101.3 kB / 15.73 MB, free: 6.059 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.001896/0.001896, allocations: 196.9 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002405/0.002406, allocations: 284.1 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9479/0.9479, allocations: 169.3 MB / 0.4983 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001826/0.001826, allocations: 91.84 kB / 0.6809 GB, free: 7.523 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4184, allocations: 86.98 MB / 0.7659 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.00221/0.4206, allocations: 0.5865 MB / 0.7664 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 3.987e-05/0.4207, allocations: 7.984 kB / 0.7665 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.335e-05/0.4207, allocations: 0 / 0.7665 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.4208, allocations: 3.938 kB / 0.7665 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.733e-06/0.4208, allocations: 0 / 0.7665 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.959e-05/0.4209, allocations: 4 kB / 0.7665 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.09e-05/0.4209, allocations: 0 / 0.7665 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.328e-05/0.421, allocations: 0 / 0.7665 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.494e-05/0.421, allocations: 0 / 0.7665 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.919e-05/0.421, allocations: 4 kB / 0.7665 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.4211, allocations: 0 / 0.7665 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.775e-06/0.4211, allocations: 4 kB / 0.7665 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.4211, allocations: 7.938 kB / 0.7665 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.4211, allocations: 3.938 kB / 0.7665 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 5.759e-05/0.4212, allocations: 0 / 0.7665 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.4212, allocations: 0 / 0.7665 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4212, allocations: 0 / 0.7665 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.4212, allocations: 0 / 0.7665 GB, free: 3.25 MB / 0.5294 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.0003253/0.4215, allocations: 315.4 kB / 0.7668 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4216, allocations: 8.031 kB / 0.7668 GB, free: 2.887 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.313e-05/0.4216, allocations: 30.75 kB / 0.7668 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.128e-05/0.4217, allocations: 4.938 kB / 0.7668 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.4218, allocations: 164.4 kB / 0.767 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.4218, allocations: 4.375 kB / 0.767 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-06/0.4218, allocations: 384 / 0.767 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.732e-05/0.4219, allocations: 30.25 kB / 0.767 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.4219, allocations: 3.938 kB / 0.767 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-06/0.4219, allocations: 0 / 0.767 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.4219, allocations: 4 kB / 0.767 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.774e-05/0.4219, allocations: 3.938 kB / 0.767 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001506/0.4221, allocations: 149.7 kB / 0.7672 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.82e-05/0.4221, allocations: 22.61 kB / 0.7672 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.4222, allocations: 4.859 kB / 0.7672 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.4222, allocations: 0 / 0.7672 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.4222, allocations: 38.61 kB / 0.7672 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.4222, allocations: 0 / 0.7672 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.4224, allocations: 37.7 kB / 0.7673 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.4224, allocations: 55.41 kB / 0.7673 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.533e-05/0.4225, allocations: 89.86 kB / 0.7674 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.4225, allocations: 25.7 kB / 0.7674 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.889e-05/0.4225, allocations: 84.14 kB / 0.7675 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.922e-05/0.4226, allocations: 3.953 kB / 0.7675 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.4226, allocations: 17.66 kB / 0.7675 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.4227, allocations: 310.8 kB / 0.7678 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.145e-05/0.4227, allocations: 4 kB / 0.7678 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-06/0.4228, allocations: 3.938 kB / 0.7678 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.759e-05/0.4228, allocations: 16.84 kB / 0.7679 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.4228, allocations: 0 / 0.7679 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.39e-05/0.4228, allocations: 33.64 kB / 0.7679 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.4229, allocations: 8 kB / 0.7679 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4229, allocations: 3.938 kB / 0.7679 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4229, allocations: 0 / 0.7679 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.211e-05/0.423, allocations: 0 / 0.7679 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.423, allocations: 8.094 kB / 0.7679 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.051e-05/0.423, allocations: 0 / 0.7679 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.423, allocations: 0 / 0.7679 GB, free: 1.562 MB / 0.5294 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 9.238e-05/0.4231, allocations: 105.8 kB / 0.768 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-06/0.4231, allocations: 3.984 kB / 0.768 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.759e-05/0.4231, allocations: 7.062 kB / 0.768 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.4231, allocations: 0 / 0.768 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4232, allocations: 4 kB / 0.768 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.4232, allocations: 0 / 0.768 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.4233, allocations: 153.7 kB / 0.7682 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4233, allocations: 0 / 0.7682 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-05/0.4233, allocations: 0 / 0.7682 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4233, allocations: 4 kB / 0.7682 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.4233, allocations: 7.922 kB / 0.7682 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4233, allocations: 0 / 0.7682 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4233, allocations: 0 / 0.7682 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.009e-05/0.4234, allocations: 53.08 kB / 0.7682 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.4235, allocations: 81.14 kB / 0.7683 GB, free: 1.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.4235, allocations: 11.94 kB / 0.7683 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-06/0.4235, allocations: 0 / 0.7683 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.138e-05/0.4235, allocations: 7.969 kB / 0.7683 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.4235, allocations: 4 kB / 0.7683 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.146e-05/0.4236, allocations: 75.28 kB / 0.7684 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.4236, allocations: 0 / 0.7684 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002174/0.4238, allocations: 0 / 0.7684 GB, free: 0.9609 MB / 0.5294 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.0003137/0.4241, allocations: 0.6006 MB / 0.769 GB, free: 336 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.202e-05/0.4242, allocations: 3.984 kB / 0.769 GB, free: 332 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4242, allocations: 4 kB / 0.769 GB, free: 328 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.09e-06/0.4242, allocations: 0 / 0.769 GB, free: 328 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.4243, allocations: 9.031 kB / 0.769 GB, free: 324 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002725/0.4246, allocations: 110.9 kB / 0.7691 GB, free: 172 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.4249, allocations: 0.6728 MB / 0.7698 GB, free: 15.47 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.15e-05/0.4249, allocations: 3.984 kB / 0.7698 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.4249, allocations: 7.438 kB / 0.7698 GB, free: 15.46 MB / 0.545 GB Notification: Performance of SimCode: time 2.905e-06/0.425, allocations: 4 kB / 0.7698 GB, free: 15.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0161/0.4411, allocations: 0.8883 MB / 0.7706 GB, free: 14.65 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.606/8.047, allocations: 4 kB / 0.7706 GB, free: 14.64 MB / 0.545 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)