Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.007668/0.007668, allocations: 101 kB / 15.73 MB, free: 5.555 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.001848/0.001848, allocations: 196.4 kB / 16.68 MB, free: 5.484 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.559/1.559, allocations: 222.9 MB / 240.4 MB, free: 4.359 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.082/1.082, allocations: 143.3 MB / 433.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 67.89 kB / 0.5954 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4247, allocations: 82.03 MB / 0.6755 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001482/0.4262, allocations: 0.5833 MB / 0.676 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005615/0.4268, allocations: 326.3 kB / 0.6763 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.614e-05/0.4268, allocations: 0 / 0.6763 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.094e-05/0.4268, allocations: 0 / 0.6763 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.082e-06/0.4269, allocations: 0 / 0.6763 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004107/0.4273, allocations: 119.9 kB / 0.6765 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.064e-05/0.4273, allocations: 0.9062 kB / 0.6765 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.4274, allocations: 1.219 kB / 0.6765 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.291e-05/0.4274, allocations: 1.188 kB / 0.6765 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.032e-05/0.4274, allocations: 7.922 kB / 0.6765 GB, free: 212 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.456e-06/0.4274, allocations: 1.25 kB / 0.6765 GB, free: 212 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000351/0.4278, allocations: 277.7 kB / 0.6767 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.317e-06/0.4278, allocations: 1.406 kB / 0.6767 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.542e-05/0.4278, allocations: 0 / 0.6767 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.428, allocations: 84.77 kB / 0.6768 GB, free: 0 / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.428, allocations: 4.047 kB / 0.6768 GB, free: 15.99 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.342e-06/0.428, allocations: 0 / 0.6768 GB, free: 15.99 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.428, allocations: 1.312 kB / 0.6768 GB, free: 15.99 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004014/0.4284, allocations: 336 kB / 0.6771 GB, free: 15.62 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.4285, allocations: 8.688 kB / 0.6771 GB, free: 15.62 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.364e-05/0.4285, allocations: 30.75 kB / 0.6772 GB, free: 15.58 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.37e-05/0.4286, allocations: 2.469 kB / 0.6772 GB, free: 15.58 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.4288, allocations: 164.4 kB / 0.6773 GB, free: 15.38 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.4288, allocations: 1.562 kB / 0.6773 GB, free: 15.38 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.4288, allocations: 384 / 0.6773 GB, free: 15.38 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.4289, allocations: 36.61 kB / 0.6774 GB, free: 15.34 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.429, allocations: 3.938 kB / 0.6774 GB, free: 15.34 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.429, allocations: 0 / 0.6774 GB, free: 15.34 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.429, allocations: 1.438 kB / 0.6774 GB, free: 15.34 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.709e-05/0.429, allocations: 1.562 kB / 0.6774 GB, free: 15.34 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.4292, allocations: 153.6 kB / 0.6775 GB, free: 15.14 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 5.503e-05/0.4293, allocations: 20.75 kB / 0.6775 GB, free: 15.11 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.4293, allocations: 12.38 kB / 0.6776 GB, free: 15.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006564/0.43, allocations: 428.7 kB / 0.678 GB, free: 14.61 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.43, allocations: 35.62 kB / 0.678 GB, free: 14.57 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=1): time 1.693e-06/0.43, allocations: 0 / 0.678 GB, free: 14.57 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1): time 0.0002311/0.4303, allocations: 35.61 kB / 0.678 GB, free: 14.54 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.4303, allocations: 55.41 kB / 0.6781 GB, free: 14.47 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.067e-05/0.4304, allocations: 90.95 kB / 0.6782 GB, free: 14.37 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.4305, allocations: 25.7 kB / 0.6782 GB, free: 14.34 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.4305, allocations: 80.14 kB / 0.6783 GB, free: 14.26 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.4306, allocations: 9.172 kB / 0.6783 GB, free: 14.25 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.596e-05/0.4306, allocations: 15.98 kB / 0.6783 GB, free: 14.23 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4308, allocations: 310.8 kB / 0.6786 GB, free: 13.92 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.409e-05/0.4308, allocations: 5.125 kB / 0.6786 GB, free: 13.91 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.917e-06/0.4308, allocations: 1.062 kB / 0.6786 GB, free: 13.91 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.52e-05/0.4309, allocations: 12.39 kB / 0.6786 GB, free: 13.9 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4309, allocations: 0 / 0.6786 GB, free: 13.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.227e-05/0.4309, allocations: 35.14 kB / 0.6786 GB, free: 13.87 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.431, allocations: 4.656 kB / 0.6786 GB, free: 13.87 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.431, allocations: 5.062 kB / 0.6787 GB, free: 13.86 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.431, allocations: 3.984 kB / 0.6787 GB, free: 13.86 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.293e-05/0.4311, allocations: 2.406 kB / 0.6787 GB, free: 13.86 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.4311, allocations: 4.094 kB / 0.6787 GB, free: 13.86 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.131e-05/0.4311, allocations: 1.219 kB / 0.6787 GB, free: 13.86 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.4311, allocations: 0 / 0.6787 GB, free: 13.86 MB / 0.5138 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 (1): * Single equations (assignments): 1 * 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.899e-05/0.4312, allocations: 107 kB / 0.6788 GB, free: 13.74 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.971e-05/0.4312, allocations: 1.031 kB / 0.6788 GB, free: 13.74 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.4314, allocations: 45.59 kB / 0.6788 GB, free: 13.7 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4314, allocations: 1.188 kB / 0.6788 GB, free: 13.7 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.4314, allocations: 4.031 kB / 0.6788 GB, free: 13.7 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.4314, allocations: 0 / 0.6788 GB, free: 13.7 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.4316, allocations: 150.9 kB / 0.679 GB, free: 13.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.4316, allocations: 1.25 kB / 0.679 GB, free: 13.5 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.196e-05/0.4316, allocations: 5.094 kB / 0.679 GB, free: 13.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4316, allocations: 0 / 0.679 GB, free: 13.5 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.4316, allocations: 13.09 kB / 0.679 GB, free: 13.49 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.4316, allocations: 3.984 kB / 0.679 GB, free: 13.48 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.4316, allocations: 1.125 kB / 0.679 GB, free: 13.48 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.4318, allocations: 62.67 kB / 0.679 GB, free: 13.41 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 7.398e-05/0.4318, allocations: 78.33 kB / 0.6791 GB, free: 13.32 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.4319, allocations: 3.938 kB / 0.6791 GB, free: 13.31 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.895e-06/0.4319, allocations: 1.25 kB / 0.6791 GB, free: 13.31 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.4319, allocations: 3.984 kB / 0.6791 GB, free: 13.31 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.4319, allocations: 1 kB / 0.6791 GB, free: 13.31 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.432, allocations: 79.22 kB / 0.6792 GB, free: 13.23 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1e-07/0.432, allocations: 1.062 kB / 0.6792 GB, free: 13.23 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0002514/0.4322, allocations: 8.938 kB / 0.6792 GB, free: 13.23 MB / 0.5138 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 (1): * Single equations (assignments): 1 * 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.0005453/0.4328, allocations: 0.6105 MB / 0.6798 GB, free: 12.62 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 8.642e-05/0.4329, allocations: 7.094 kB / 0.6798 GB, free: 12.62 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4329, allocations: 1.312 kB / 0.6798 GB, free: 12.62 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 9.397e-06/0.4329, allocations: 6.156 kB / 0.6798 GB, free: 12.61 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001434/0.4331, allocations: 1.125 kB / 0.6798 GB, free: 12.61 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.4334, allocations: 110.4 kB / 0.6799 GB, free: 12.47 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.4337, allocations: 0.67 MB / 0.6806 GB, free: 11.78 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 1.794e-05/0.4338, allocations: 1.062 kB / 0.6806 GB, free: 11.78 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.4338, allocations: 8.906 kB / 0.6806 GB, free: 11.77 MB / 0.5138 GB Notification: Performance of SimCode: time 4.6e-07/0.4338, allocations: 0 / 0.6806 GB, free: 11.77 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.4566, allocations: 1.199 MB / 0.6818 GB, free: 11.12 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.771/8.228, allocations: 6 kB / 0.6818 GB, free: 11.11 MB / 0.5138 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)