Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear",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.006117/0.006117, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001386/0.001386, allocations: 189.7 kB / 16.67 MB, free: 5.965 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.18 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 1.061/1.061, allocations: 143 MB / 433.6 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002436/0.002437, allocations: 63.91 kB / 0.5951 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4516, allocations: 82.02 MB / 0.6752 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002173/0.4538, allocations: 1.474 MB / 0.6766 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000335/0.4542, allocations: 130.3 kB / 0.6767 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.4542, allocations: 1.281 kB / 0.6767 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.182e-05/0.4543, allocations: 3.938 kB / 0.6767 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-05/0.4544, allocations: 6 kB / 0.6767 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.4546, allocations: 21.66 kB / 0.6768 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.924e-05/0.4547, allocations: 44.84 kB / 0.6768 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.4548, allocations: 4.688 kB / 0.6768 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.557e-05/0.4548, allocations: 25.97 kB / 0.6768 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.821e-05/0.4549, allocations: 25.94 kB / 0.6769 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.4549, allocations: 3.344 kB / 0.6769 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.521e-05/0.455, allocations: 20.64 kB / 0.6769 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.473e-05/0.455, allocations: 14.58 kB / 0.6769 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.4551, allocations: 20.66 kB / 0.6769 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.4552, allocations: 64.66 kB / 0.677 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4552, allocations: 0 / 0.677 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.203e-06/0.4552, allocations: 0 / 0.677 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.4552, allocations: 1.125 kB / 0.677 GB, free: 15.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004962/0.4557, allocations: 380.2 kB / 0.6773 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.4558, allocations: 9.656 kB / 0.6773 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.4558, allocations: 35.8 kB / 0.6774 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.4558, allocations: 7.906 kB / 0.6774 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.456, allocations: 172.7 kB / 0.6776 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.456, allocations: 1.594 kB / 0.6776 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.456, allocations: 5.531 kB / 0.6776 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.4562, allocations: 79.42 kB / 0.6776 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.4563, allocations: 3.938 kB / 0.6776 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-06/0.4563, allocations: 5.281 kB / 0.6776 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.4563, allocations: 0 / 0.6776 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.4566, allocations: 76.02 kB / 0.6777 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.4569, allocations: 285 kB / 0.678 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.4572, allocations: 68.53 kB / 0.6781 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001598/0.4573, allocations: 43.22 kB / 0.6781 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002294/0.4576, allocations: 115.2 kB / 0.6782 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.4576, allocations: 31.72 kB / 0.6782 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.4576, allocations: 0 / 0.6782 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005581/0.4582, allocations: 146.3 kB / 0.6784 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.4582, allocations: 56.5 kB / 0.6784 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.798e-05/0.4583, allocations: 132.4 kB / 0.6786 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.4583, allocations: 25.7 kB / 0.6786 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.4584, allocations: 99.81 kB / 0.6787 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.4584, allocations: 5.281 kB / 0.6787 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.4585, allocations: 16 kB / 0.6787 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.4586, allocations: 317.1 kB / 0.679 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.4587, allocations: 40.25 kB / 0.679 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/0.4589, allocations: 42.42 kB / 0.6791 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.4592, allocations: 81.91 kB / 0.6792 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4592, allocations: 1.219 kB / 0.6792 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003336/0.4595, allocations: 113.9 kB / 0.6793 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4595, allocations: 6.969 kB / 0.6793 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.4596, allocations: 0 / 0.6793 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4596, allocations: 1.25 kB / 0.6793 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.4597, allocations: 14.02 kB / 0.6793 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.4597, allocations: 0 / 0.6793 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.379e-05/0.4598, allocations: 24.08 kB / 0.6793 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.4598, allocations: 0 / 0.6793 GB, free: 13.58 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 7.598e-05/0.4599, allocations: 118 kB / 0.6794 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.4599, allocations: 3.406 kB / 0.6794 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003649/0.4603, allocations: 120.9 kB / 0.6795 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.4603, allocations: 0 / 0.6795 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4603, allocations: 5.062 kB / 0.6795 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4603, allocations: 0 / 0.6795 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.4605, allocations: 188.8 kB / 0.6797 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4605, allocations: 0 / 0.6797 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.729e-05/0.4606, allocations: 18.88 kB / 0.6797 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4606, allocations: 0 / 0.6797 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.4606, allocations: 5.156 kB / 0.6798 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.4606, allocations: 0 / 0.6798 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4606, allocations: 0 / 0.6798 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.461, allocations: 217.4 kB / 0.68 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.4611, allocations: 82.5 kB / 0.68 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.4611, allocations: 1.188 kB / 0.68 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.4612, allocations: 14.86 kB / 0.6801 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.4613, allocations: 10.3 kB / 0.6801 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.4613, allocations: 0 / 0.6801 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.959e-05/0.4613, allocations: 96.39 kB / 0.6802 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4613, allocations: 0 / 0.6802 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002361/0.4616, allocations: 18.31 kB / 0.6802 GB, free: 12.76 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.000664/0.4622, allocations: 0.7437 MB / 0.6809 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003498/0.4626, allocations: 86.91 kB / 0.681 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.4626, allocations: 0 / 0.681 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.4628, allocations: 44.59 kB / 0.681 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.463, allocations: 7.453 kB / 0.681 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004964/0.4636, allocations: 180.9 kB / 0.6812 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/0.4638, allocations: 0.6831 MB / 0.6819 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.278e-05/0.4638, allocations: 6.266 kB / 0.6819 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.4639, allocations: 29.58 kB / 0.6819 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of SimCode: time 3.2e-07/0.4639, allocations: 0 / 0.6819 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.4827, allocations: 1.88 MB / 0.6837 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.434/7.917, allocations: 1.625 kB / 0.6837 GB, free: 10.09 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_QuadraticLinear.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)