Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.Math.Examples.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Average,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average",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.005506/0.005506, allocations: 102.3 kB / 15.73 MB, free: 6.016 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.00116/0.00116, allocations: 191.4 kB / 16.67 MB, free: 5.949 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9708/0.9708, allocations: 143 MB / 433.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 63.89 kB / 0.5951 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4496/0.451, allocations: 82.02 MB / 0.6752 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Average): time 0.002671/0.4537, allocations: 1.531 MB / 0.6767 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0004226/0.4541, allocations: 115.7 kB / 0.6768 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.993e-05/0.4542, allocations: 3.938 kB / 0.6768 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001331/0.4544, allocations: 5.125 kB / 0.6768 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.885e-05/0.4544, allocations: 5.188 kB / 0.6768 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.4547, allocations: 35.58 kB / 0.6768 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.4548, allocations: 55.39 kB / 0.6769 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.4549, allocations: 16.59 kB / 0.6769 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.63e-05/0.455, allocations: 29 kB / 0.6769 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.4551, allocations: 33.22 kB / 0.6769 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.4551, allocations: 4.312 kB / 0.677 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.086e-05/0.4552, allocations: 19.11 kB / 0.677 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.725e-05/0.4553, allocations: 24.7 kB / 0.677 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.728e-05/0.4553, allocations: 21.56 kB / 0.677 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.4555, allocations: 56.36 kB / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.4555, allocations: 4 kB / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4555, allocations: 0 / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.4555, allocations: 1.219 kB / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006075/0.4561, allocations: 382.9 kB / 0.6774 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.4562, allocations: 9.312 kB / 0.6774 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.4562, allocations: 32.03 kB / 0.6775 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.4563, allocations: 8.25 kB / 0.6775 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.4565, allocations: 188.2 kB / 0.6777 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.4565, allocations: 9.375 kB / 0.6777 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.4565, allocations: 11.52 kB / 0.6777 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.4568, allocations: 85.03 kB / 0.6778 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.4569, allocations: 3.938 kB / 0.6778 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.4569, allocations: 8 kB / 0.6778 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4569, allocations: 1.562 kB / 0.6778 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.4572, allocations: 72.92 kB / 0.6778 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.4577, allocations: 332.8 kB / 0.6782 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.458, allocations: 58 kB / 0.6782 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.4581, allocations: 37.02 kB / 0.6783 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.4582, allocations: 5.5 kB / 0.6783 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.4582, allocations: 35.78 kB / 0.6783 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4582, allocations: 0 / 0.6783 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005775/0.4588, allocations: 142.2 kB / 0.6784 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.4589, allocations: 51.41 kB / 0.6785 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.282e-05/0.459, allocations: 111.4 kB / 0.6786 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.459, allocations: 30.7 kB / 0.6786 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.459, allocations: 95.05 kB / 0.6787 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.4591, allocations: 12.98 kB / 0.6787 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.4591, allocations: 12.25 kB / 0.6787 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.4592, allocations: 321.5 kB / 0.679 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.4594, allocations: 34.48 kB / 0.6791 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.4595, allocations: 42.08 kB / 0.6791 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.4598, allocations: 73.75 kB / 0.6792 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4598, allocations: 1.125 kB / 0.6792 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003508/0.4602, allocations: 108.4 kB / 0.6793 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4602, allocations: 4.469 kB / 0.6793 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4602, allocations: 1.25 kB / 0.6793 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4603, allocations: 0 / 0.6793 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.4604, allocations: 18.69 kB / 0.6793 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.4604, allocations: 0 / 0.6793 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.17e-05/0.4605, allocations: 11.14 kB / 0.6793 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.4605, allocations: 9 kB / 0.6793 GB, free: 13.5 MB / 0.5137 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 (3): * Single equations (assignments): 3 * 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.027e-05/0.4606, allocations: 130.2 kB / 0.6795 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.4607, allocations: 2.156 kB / 0.6795 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.4611, allocations: 108.6 kB / 0.6796 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4611, allocations: 384 / 0.6796 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4611, allocations: 0.9375 kB / 0.6796 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.4611, allocations: 0 / 0.6796 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.4613, allocations: 187 kB / 0.6797 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4613, allocations: 0 / 0.6797 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.71e-05/0.4614, allocations: 18.53 kB / 0.6798 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.4614, allocations: 3.984 kB / 0.6798 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.263e-06/0.4614, allocations: 0.8125 kB / 0.6798 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4614, allocations: 1.406 kB / 0.6798 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4614, allocations: 0 / 0.6798 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.4618, allocations: 210.7 kB / 0.68 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.774e-05/0.4619, allocations: 82.33 kB / 0.68 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.4619, allocations: 1.594 kB / 0.68 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.462, allocations: 10.2 kB / 0.6801 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.4621, allocations: 6.797 kB / 0.6801 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.4621, allocations: 5.406 kB / 0.6801 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.075e-05/0.4622, allocations: 95.36 kB / 0.6802 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4622, allocations: 0 / 0.6802 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002293/0.4624, allocations: 12.59 kB / 0.6802 GB, free: 12.69 MB / 0.5137 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 (3): * Single equations (assignments): 3 * 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.0007052/0.4631, allocations: 0.7331 MB / 0.6809 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003555/0.4635, allocations: 71.61 kB / 0.681 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4635, allocations: 0 / 0.681 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.4637, allocations: 43.2 kB / 0.681 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.464, allocations: 9.406 kB / 0.681 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.4661, allocations: 1.447 MB / 0.6824 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.4664, allocations: 0.6929 MB / 0.6831 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.398e-05/0.4665, allocations: 12.53 kB / 0.6831 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.798e-05/0.4666, allocations: 18.12 kB / 0.6831 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of SimCode: time 6.51e-07/0.4666, allocations: 0 / 0.6831 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.4866, allocations: 1.807 MB / 0.6849 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.624/8.11, allocations: 12.47 kB / 0.6849 GB, free: 8.895 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Average.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)