Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_8_Buildings_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.001156/0.001156, allocations: 108 kB / 15.6 MB, free: 132 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.001247/0.001247, allocations: 191.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.1 MB / 222.4 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.645/1.645, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 73.66 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.232, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001865/0.2339, allocations: 0.6058 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 4.658e-05/0.2339, allocations: 3.984 kB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.19e-05/0.234, allocations: 0 / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.019e-05/0.234, allocations: 0 / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.59e-06/0.234, allocations: 0 / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.35e-05/0.2341, allocations: 4 kB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.083e-05/0.2341, allocations: 8 kB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.414e-05/0.2342, allocations: 0 / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.903e-05/0.2342, allocations: 0 / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.823e-05/0.2342, allocations: 7.922 kB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.2343, allocations: 4 kB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.438e-06/0.2343, allocations: 0 / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.675e-05/0.2343, allocations: 0 / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.126e-05/0.2343, allocations: 0 / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.481e-05/0.2344, allocations: 0 / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2344, allocations: 3.938 kB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.294e-06/0.2344, allocations: 0 / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.2344, allocations: 4 kB / 0.7841 GB, free: 12.74 MB / 0.6075 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.0003102/0.2347, allocations: 315.6 kB / 0.7844 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.2348, allocations: 8.031 kB / 0.7844 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.62e-05/0.2348, allocations: 30.75 kB / 0.7844 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.055e-05/0.2348, allocations: 4.938 kB / 0.7844 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.595e-05/0.2349, allocations: 160.4 kB / 0.7846 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.235, allocations: 384 / 0.7846 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-06/0.235, allocations: 384 / 0.7846 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.092e-05/0.2351, allocations: 34.27 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.2351, allocations: 3.938 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.2351, allocations: 4 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2351, allocations: 0 / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.695e-05/0.2351, allocations: 7.922 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001511/0.2353, allocations: 145.7 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.392e-05/0.2353, allocations: 18.61 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.2353, allocations: 8.844 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.2354, allocations: 7.938 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.2354, allocations: 34.62 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.2354, allocations: 0 / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001092/0.2355, allocations: 45.56 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.2355, allocations: 51.41 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.833e-05/0.2356, allocations: 89.86 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.2356, allocations: 25.7 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.255e-05/0.2356, allocations: 84.27 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.2357, allocations: 4.188 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.2357, allocations: 13.72 kB / 0.7851 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.337e-05/0.2358, allocations: 310.8 kB / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.508e-06/0.2358, allocations: 4 kB / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.61e-06/0.2358, allocations: 4 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.983e-05/0.2358, allocations: 4.859 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2358, allocations: 0 / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.456e-05/0.2359, allocations: 45.69 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.2359, allocations: 4 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2359, allocations: 3.938 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.2359, allocations: 3.938 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.168e-05/0.236, allocations: 0 / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.236, allocations: 4 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.407e-06/0.236, allocations: 0 / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.236, allocations: 0 / 0.7855 GB, free: 11.05 MB / 0.6075 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.386e-05/0.2361, allocations: 114.4 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-06/0.2361, allocations: 4.031 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.2362, allocations: 7.062 kB / 0.7856 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2362, allocations: 7.984 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2362, allocations: 0 / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2362, allocations: 0 / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.345e-05/0.2363, allocations: 141.7 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2363, allocations: 0 / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.075e-05/0.2363, allocations: 4 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.2363, allocations: 0 / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.2363, allocations: 7.938 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2363, allocations: 4 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.2363, allocations: 3.938 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.718e-05/0.2364, allocations: 57.12 kB / 0.7858 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.2364, allocations: 81.11 kB / 0.7859 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.051e-05/0.2364, allocations: 3.938 kB / 0.7859 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.151e-06/0.2365, allocations: 0 / 0.7859 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.926e-06/0.2365, allocations: 0 / 0.7859 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-06/0.2365, allocations: 0 / 0.7859 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.519e-05/0.2365, allocations: 83.25 kB / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2365, allocations: 0 / 0.786 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001759/0.2367, allocations: 4 kB / 0.786 GB, free: 10.44 MB / 0.6075 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.0003031/0.237, allocations: 0.5928 MB / 0.7866 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.23e-05/0.2371, allocations: 4.031 kB / 0.7866 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2371, allocations: 4 kB / 0.7866 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.71e-06/0.2371, allocations: 4 kB / 0.7866 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.2372, allocations: 3.984 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002535/0.2375, allocations: 98.59 kB / 0.7867 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.2377, allocations: 0.669 MB / 0.7873 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.104e-05/0.2377, allocations: 4 kB / 0.7874 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.2377, allocations: 11.38 kB / 0.7874 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2377, allocations: 8.062 kB / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.2545, allocations: 0.8539 MB / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.938/7.192, allocations: 11.67 kB / 0.7882 GB, free: 8.129 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_8_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)