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.004845/0.004845, allocations: 102.7 kB / 15.73 MB, free: 6.445 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.001188/0.001187, allocations: 195.7 kB / 16.68 MB, free: 6.355 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.048/1.048, allocations: 143 MB / 433.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 71.89 kB / 0.5951 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.4511, allocations: 82.02 MB / 0.6752 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.QuadraticLinear): time 0.002327/0.4535, allocations: 1.49 MB / 0.6766 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003256/0.4538, allocations: 114.7 kB / 0.6767 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.701e-05/0.4539, allocations: 5.062 kB / 0.6767 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.403e-05/0.4539, allocations: 0 / 0.6767 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.163e-05/0.454, allocations: 13.61 kB / 0.6767 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.4542, allocations: 21.44 kB / 0.6768 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.674e-05/0.4543, allocations: 45.94 kB / 0.6768 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.4544, allocations: 12.25 kB / 0.6768 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.989e-05/0.4545, allocations: 17.7 kB / 0.6768 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.844e-05/0.4545, allocations: 18.61 kB / 0.6769 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.4545, allocations: 3.938 kB / 0.6769 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.05e-05/0.4546, allocations: 23.5 kB / 0.6769 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.133e-05/0.4547, allocations: 15.55 kB / 0.6769 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.4547, allocations: 23.73 kB / 0.6769 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001283/0.4548, allocations: 56.41 kB / 0.677 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.4549, allocations: 1.062 kB / 0.677 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4549, allocations: 0 / 0.677 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.4549, allocations: 0 / 0.677 GB, free: 15.66 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.0005201/0.4554, allocations: 385.4 kB / 0.6773 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.4555, allocations: 9 kB / 0.6774 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.4555, allocations: 32.09 kB / 0.6774 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.4555, allocations: 7.906 kB / 0.6774 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.4557, allocations: 183.8 kB / 0.6776 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.4557, allocations: 1.562 kB / 0.6776 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.4557, allocations: 5.719 kB / 0.6776 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.456, allocations: 75.94 kB / 0.6776 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.456, allocations: 3.938 kB / 0.6776 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.456, allocations: 5.109 kB / 0.6777 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.456, allocations: 0 / 0.6777 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000281/0.4563, allocations: 71.45 kB / 0.6777 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003611/0.4567, allocations: 285.2 kB / 0.678 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.4569, allocations: 68.69 kB / 0.6781 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.457, allocations: 43.06 kB / 0.6781 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00026/0.4573, allocations: 119.9 kB / 0.6782 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.4573, allocations: 30.56 kB / 0.6782 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.4573, allocations: 1.188 kB / 0.6782 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.000532/0.4579, allocations: 149.7 kB / 0.6784 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.4579, allocations: 52.59 kB / 0.6784 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.458, allocations: 131.6 kB / 0.6786 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.458, allocations: 27.02 kB / 0.6786 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.4581, allocations: 98.41 kB / 0.6787 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/0.4581, allocations: 9.062 kB / 0.6787 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.4582, allocations: 16.34 kB / 0.6787 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4583, allocations: 321.3 kB / 0.679 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.4584, allocations: 37.5 kB / 0.679 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.4585, allocations: 37.3 kB / 0.6791 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.4588, allocations: 79.34 kB / 0.6792 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.4588, allocations: 4 kB / 0.6792 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003261/0.4592, allocations: 110.1 kB / 0.6793 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4592, allocations: 5.625 kB / 0.6793 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.4592, allocations: 3.984 kB / 0.6793 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.4592, allocations: 0 / 0.6793 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.4594, allocations: 18.36 kB / 0.6793 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.4594, allocations: 5.094 kB / 0.6793 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.206e-05/0.4595, allocations: 14.67 kB / 0.6793 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.4595, allocations: 1.188 kB / 0.6793 GB, free: 13.48 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 0.0001045/0.4596, allocations: 121.2 kB / 0.6794 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.4596, allocations: 3.219 kB / 0.6794 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003964/0.46, allocations: 121.4 kB / 0.6795 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.46, allocations: 0 / 0.6795 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4601, allocations: 4.938 kB / 0.6796 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4601, allocations: 0 / 0.6796 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.4603, allocations: 180.4 kB / 0.6797 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4603, allocations: 4 kB / 0.6797 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.947e-05/0.4604, allocations: 18.88 kB / 0.6797 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4604, allocations: 0 / 0.6797 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.4604, allocations: 1.156 kB / 0.6797 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4604, allocations: 4 kB / 0.6798 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4604, allocations: 1.156 kB / 0.6798 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.4608, allocations: 209.2 kB / 0.68 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.4609, allocations: 82.47 kB / 0.68 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.4609, allocations: 1.094 kB / 0.68 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.461, allocations: 18.52 kB / 0.6801 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.4611, allocations: 5.297 kB / 0.6801 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.4611, allocations: 1.031 kB / 0.6801 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.534e-05/0.4612, allocations: 103.9 kB / 0.6802 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.703e-06/0.4612, allocations: 1.281 kB / 0.6802 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002382/0.4614, allocations: 17.12 kB / 0.6802 GB, free: 12.66 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.0007774/0.4622, allocations: 0.7448 MB / 0.6809 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000352/0.4626, allocations: 82.09 kB / 0.681 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.892e-06/0.4626, allocations: 7.938 kB / 0.681 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.4627, allocations: 37.09 kB / 0.681 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.463, allocations: 4.5 kB / 0.681 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.4635, allocations: 182.3 kB / 0.6812 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.4638, allocations: 0.6866 MB / 0.6819 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.835e-05/0.4638, allocations: 5.406 kB / 0.6819 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.4638, allocations: 22.23 kB / 0.6819 GB, free: 11 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4639, allocations: 0 / 0.6819 GB, free: 11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.4843, allocations: 1.918 MB / 0.6838 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/7.937, allocations: 5.969 kB / 0.6838 GB, free: 9.965 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)