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/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.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.008235/0.008235, allocations: 100.3 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.001326/0.001326, allocations: 190.9 kB / 16.67 MB, free: 5.969 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.413/1.413, 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/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.01/1.01, allocations: 143 MB / 433.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.89 kB / 0.5951 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.4473, allocations: 82.03 MB / 0.6752 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002216/0.4496, allocations: 1.444 MB / 0.6766 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008428/0.4505, allocations: 385.1 kB / 0.677 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.887e-05/0.4505, allocations: 0 / 0.677 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.4506, allocations: 3.938 kB / 0.677 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.262e-05/0.4506, allocations: 5.156 kB / 0.677 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.4511, allocations: 112.5 kB / 0.6771 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.739e-05/0.4511, allocations: 24.83 kB / 0.6771 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.76e-05/0.4512, allocations: 7.859 kB / 0.6771 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.354e-05/0.4513, allocations: 16.36 kB / 0.6771 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.494e-05/0.4513, allocations: 14.98 kB / 0.6771 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.4514, allocations: 1.812 kB / 0.6771 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004001/0.4518, allocations: 276.4 kB / 0.6774 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.4518, allocations: 9 kB / 0.6774 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.4518, allocations: 14.17 kB / 0.6774 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.452, allocations: 107.9 kB / 0.6775 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4521, allocations: 0 / 0.6775 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4521, allocations: 1.125 kB / 0.6775 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.4521, allocations: 0 / 0.6775 GB, free: 15.43 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.0005778/0.4527, allocations: 369.6 kB / 0.6779 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.4527, allocations: 8.969 kB / 0.6779 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.774e-05/0.4527, allocations: 35.91 kB / 0.6779 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.234e-05/0.4528, allocations: 2.938 kB / 0.6779 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.4529, allocations: 169.8 kB / 0.6781 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.596e-06/0.453, allocations: 1.344 kB / 0.6781 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.453, allocations: 5.547 kB / 0.6781 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.4532, allocations: 50.17 kB / 0.6781 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.4532, allocations: 7.938 kB / 0.6781 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.4532, allocations: 1.062 kB / 0.6781 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.4532, allocations: 0 / 0.6781 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.4534, allocations: 35.5 kB / 0.6782 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.4537, allocations: 250.1 kB / 0.6784 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.4539, allocations: 44.19 kB / 0.6785 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.689e-05/0.454, allocations: 26.86 kB / 0.6785 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006947/0.4547, allocations: 459.7 kB / 0.6789 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.4547, allocations: 35.78 kB / 0.679 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4547, allocations: 0 / 0.679 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003675/0.4551, allocations: 82.23 kB / 0.679 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.4551, allocations: 52.69 kB / 0.6791 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.474e-05/0.4552, allocations: 108.6 kB / 0.6792 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.4552, allocations: 25.7 kB / 0.6792 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.4553, allocations: 86.08 kB / 0.6793 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.4553, allocations: 4.938 kB / 0.6793 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.4553, allocations: 15.83 kB / 0.6793 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.4554, allocations: 315.7 kB / 0.6796 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.257e-05/0.4555, allocations: 13.48 kB / 0.6796 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.325e-05/0.4556, allocations: 26.23 kB / 0.6797 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.4558, allocations: 43.59 kB / 0.6797 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.4558, allocations: 5.031 kB / 0.6797 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001965/0.456, allocations: 69.03 kB / 0.6798 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.456, allocations: 5.75 kB / 0.6798 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.456, allocations: 4.094 kB / 0.6798 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.456, allocations: 0 / 0.6798 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.525e-05/0.4561, allocations: 7.25 kB / 0.6798 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.4561, allocations: 0 / 0.6798 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.64e-05/0.4562, allocations: 11.48 kB / 0.6798 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.4562, allocations: 1.062 kB / 0.6798 GB, free: 13.04 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 8.049e-05/0.4563, allocations: 116 kB / 0.6799 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.4563, allocations: 1.5 kB / 0.6799 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.4565, allocations: 84.02 kB / 0.68 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4565, allocations: 1.125 kB / 0.68 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.4566, allocations: 0 / 0.68 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4566, allocations: 1.156 kB / 0.68 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.4567, allocations: 158.2 kB / 0.6801 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.4567, allocations: 1 kB / 0.6801 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.4568, allocations: 9.453 kB / 0.6801 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4568, allocations: 0.9375 kB / 0.6801 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.4568, allocations: 4.031 kB / 0.6802 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4568, allocations: 1.188 kB / 0.6802 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4568, allocations: 0 / 0.6802 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.4571, allocations: 168.2 kB / 0.6803 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.698e-05/0.4571, allocations: 85.67 kB / 0.6804 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.4572, allocations: 5.328 kB / 0.6804 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.4572, allocations: 8.125 kB / 0.6804 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.4573, allocations: 0.8125 kB / 0.6804 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.4573, allocations: 9.047 kB / 0.6804 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.168e-05/0.4574, allocations: 83.72 kB / 0.6805 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4574, allocations: 0 / 0.6805 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002315/0.4576, allocations: 12.31 kB / 0.6805 GB, free: 12.29 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.0006817/0.4583, allocations: 0.7192 MB / 0.6812 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.4585, allocations: 41.47 kB / 0.6813 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4585, allocations: 3.938 kB / 0.6813 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.348e-05/0.4586, allocations: 20.42 kB / 0.6813 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.459, allocations: 8.266 kB / 0.6813 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004657/0.4594, allocations: 142.3 kB / 0.6814 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.4598, allocations: 0.6818 MB / 0.6821 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.575e-05/0.4598, allocations: 1.125 kB / 0.6821 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.373e-05/0.4598, allocations: 8.594 kB / 0.6821 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of SimCode: time 2.074e-06/0.4598, allocations: 1.438 kB / 0.6821 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01959/0.4794, allocations: 1.64 MB / 0.6837 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.372/7.852, allocations: 5.688 kB / 0.6837 GB, free: 9.789 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)