Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",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.006675/0.006675, allocations: 98.97 kB / 15.73 MB, free: 6.039 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.001449/0.001449, allocations: 196 kB / 16.67 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.052/1.052, allocations: 143.3 MB / 433.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 71.88 kB / 0.5953 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4292/0.4311, allocations: 82.03 MB / 0.6754 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002308/0.4335, allocations: 1.423 MB / 0.6768 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000796/0.4343, allocations: 388.4 kB / 0.6772 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.687e-05/0.4343, allocations: 4 kB / 0.6772 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/0.4344, allocations: 7.875 kB / 0.6772 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.281e-05/0.4344, allocations: 5.094 kB / 0.6772 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.4349, allocations: 115.8 kB / 0.6773 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.389e-05/0.4349, allocations: 26.39 kB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.4351, allocations: 2.875 kB / 0.6773 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.28e-05/0.4351, allocations: 15.64 kB / 0.6774 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.371e-05/0.4352, allocations: 19.52 kB / 0.6774 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.4352, allocations: 2.219 kB / 0.6774 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003926/0.4356, allocations: 273.5 kB / 0.6776 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.923e-05/0.4356, allocations: 11.92 kB / 0.6776 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.4356, allocations: 14.52 kB / 0.6777 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.4359, allocations: 109.2 kB / 0.6778 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4359, allocations: 0 / 0.6778 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4359, allocations: 0 / 0.6778 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.4359, allocations: 0 / 0.6778 GB, free: 15.21 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006137/0.4366, allocations: 363.4 kB / 0.6781 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.4366, allocations: 9.594 kB / 0.6781 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.4367, allocations: 32.16 kB / 0.6782 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.381e-05/0.4368, allocations: 10.02 kB / 0.6782 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.4369, allocations: 175 kB / 0.6783 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.437, allocations: 4.375 kB / 0.6783 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.437, allocations: 1.375 kB / 0.6783 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.4372, allocations: 53.88 kB / 0.6784 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4372, allocations: 5.094 kB / 0.6784 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.4372, allocations: 4 kB / 0.6784 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.4372, allocations: 0 / 0.6784 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.4374, allocations: 32.19 kB / 0.6784 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.4378, allocations: 249.7 kB / 0.6787 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.438, allocations: 39.5 kB / 0.6787 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.546e-05/0.4381, allocations: 31.39 kB / 0.6787 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008379/0.439, allocations: 451.9 kB / 0.6792 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.439, allocations: 39.88 kB / 0.6792 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.439, allocations: 0 / 0.6792 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004475/0.4395, allocations: 90.41 kB / 0.6793 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.4395, allocations: 51.41 kB / 0.6793 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.4397, allocations: 109.6 kB / 0.6794 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.4397, allocations: 29.83 kB / 0.6795 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.4398, allocations: 82.27 kB / 0.6795 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.4398, allocations: 5.109 kB / 0.6795 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.4398, allocations: 19.89 kB / 0.6796 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.44, allocations: 312 kB / 0.6799 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.274e-05/0.4401, allocations: 16.95 kB / 0.6799 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-05/0.4402, allocations: 17.42 kB / 0.6799 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.4404, allocations: 48.62 kB / 0.6799 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.4404, allocations: 3.938 kB / 0.6799 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002338/0.4406, allocations: 69.66 kB / 0.68 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4407, allocations: 5.5 kB / 0.68 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4407, allocations: 3.938 kB / 0.68 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.4407, allocations: 5.062 kB / 0.68 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.4408, allocations: 6.688 kB / 0.68 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.4408, allocations: 0 / 0.68 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.111e-05/0.4409, allocations: 7.328 kB / 0.68 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.4409, allocations: 1.062 kB / 0.68 GB, free: 12.81 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 (2): * Single equations (assignments): 2 * 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.0001067/0.441, allocations: 116.2 kB / 0.6802 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.441, allocations: 5.141 kB / 0.6802 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002575/0.4413, allocations: 80.45 kB / 0.6802 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.4413, allocations: 0 / 0.6802 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4413, allocations: 1.125 kB / 0.6802 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.4413, allocations: 0 / 0.6802 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.4416, allocations: 163 kB / 0.6804 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4416, allocations: 256 / 0.6804 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.38e-05/0.4416, allocations: 14.52 kB / 0.6804 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.4417, allocations: 1.469 kB / 0.6804 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.4417, allocations: 0 / 0.6804 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.4417, allocations: 0 / 0.6804 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.4417, allocations: 5.281 kB / 0.6804 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.442, allocations: 163.8 kB / 0.6806 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.63e-05/0.442, allocations: 78.02 kB / 0.6806 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.442, allocations: 4.891 kB / 0.6806 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.4421, allocations: 3.562 kB / 0.6807 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.4422, allocations: 5.219 kB / 0.6807 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.4422, allocations: 5.047 kB / 0.6807 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.9e-05/0.4422, allocations: 88.06 kB / 0.6807 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4422, allocations: 0 / 0.6807 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000233/0.4425, allocations: 21.02 kB / 0.6808 GB, free: 12.06 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 (2): * Single equations (assignments): 2 * 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.0006649/0.4432, allocations: 0.714 MB / 0.6815 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002158/0.4434, allocations: 35.25 kB / 0.6815 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4434, allocations: 3.938 kB / 0.6815 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.005e-05/0.4435, allocations: 27.47 kB / 0.6815 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.4438, allocations: 5.656 kB / 0.6815 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.4442, allocations: 141.3 kB / 0.6817 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.4445, allocations: 0.6773 MB / 0.6823 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.302e-05/0.4445, allocations: 1.469 kB / 0.6823 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.4446, allocations: 8.344 kB / 0.6823 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.4446, allocations: 1.188 kB / 0.6823 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.4654, allocations: 1.623 MB / 0.6839 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.994/8.459, allocations: 1.656 kB / 0.6839 GB, free: 9.578 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)