Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.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.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",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.005805/0.005804, allocations: 100.8 kB / 15.73 MB, free: 5.988 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.001331/0.001331, allocations: 186.2 kB / 16.67 MB, free: 5.914 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.156 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.131/1.131, allocations: 143.3 MB / 433.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 71.91 kB / 0.5954 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4252, allocations: 82.02 MB / 0.6754 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.002302/0.4276, allocations: 0.5956 MB / 0.676 GB, free: 484 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00034/0.428, allocations: 95.78 kB / 0.6761 GB, free: 412 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.428, allocations: 0 / 0.6761 GB, free: 412 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.428, allocations: 1.344 kB / 0.6761 GB, free: 412 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.874e-05/0.4281, allocations: 0 / 0.6761 GB, free: 412 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.4284, allocations: 17.23 kB / 0.6761 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.51e-05/0.4285, allocations: 8.484 kB / 0.6761 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.844e-05/0.4286, allocations: 1.062 kB / 0.6761 GB, free: 396 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.449e-05/0.4286, allocations: 6.094 kB / 0.6762 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.634e-05/0.4287, allocations: 10.02 kB / 0.6762 GB, free: 384 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.4287, allocations: 1.156 kB / 0.6762 GB, free: 384 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.904e-05/0.4288, allocations: 14.64 kB / 0.6762 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.4289, allocations: 1.375 kB / 0.6762 GB, free: 376 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.4289, allocations: 5.344 kB / 0.6762 GB, free: 372 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.429, allocations: 13.14 kB / 0.6762 GB, free: 364 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.429, allocations: 0 / 0.6762 GB, free: 364 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.985e-06/0.429, allocations: 3.984 kB / 0.6762 GB, free: 360 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.4291, allocations: 1.219 kB / 0.6762 GB, free: 360 kB / 0.4981 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.0003776/0.4294, allocations: 320.5 kB / 0.6765 GB, free: 16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.4295, allocations: 9.656 kB / 0.6765 GB, free: 16 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.622e-05/0.4296, allocations: 35.86 kB / 0.6766 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/0.4298, allocations: 10.05 kB / 0.6766 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.43, allocations: 164.3 kB / 0.6767 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.43, allocations: 1.75 kB / 0.6767 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.43, allocations: 1.594 kB / 0.6767 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.4302, allocations: 39.66 kB / 0.6768 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.4303, allocations: 7.938 kB / 0.6768 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.4303, allocations: 0 / 0.6768 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.4303, allocations: 0 / 0.6768 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.4304, allocations: 15.77 kB / 0.6768 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.4307, allocations: 153.5 kB / 0.6769 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.4309, allocations: 45.11 kB / 0.677 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.912e-05/0.431, allocations: 17.47 kB / 0.677 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.431, allocations: 9.438 kB / 0.677 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.431, allocations: 30.56 kB / 0.677 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.431, allocations: 0 / 0.677 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0004352/0.4315, allocations: 65.45 kB / 0.6771 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.4315, allocations: 52.66 kB / 0.6771 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.586e-05/0.4316, allocations: 89.86 kB / 0.6772 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.4317, allocations: 29.7 kB / 0.6773 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.159e-05/0.4317, allocations: 85.36 kB / 0.6773 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.4318, allocations: 9.016 kB / 0.6773 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.4319, allocations: 20.56 kB / 0.6774 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002548/0.4321, allocations: 314.8 kB / 0.6777 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.373e-05/0.4322, allocations: 3.844 kB / 0.6777 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.184e-05/0.4322, allocations: 12.52 kB / 0.6777 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.4324, allocations: 25.94 kB / 0.6777 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4324, allocations: 0 / 0.6777 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001687/0.4326, allocations: 46.62 kB / 0.6777 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.4326, allocations: 4.531 kB / 0.6778 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.4326, allocations: 5.094 kB / 0.6778 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.4326, allocations: 0 / 0.6778 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000645/0.4333, allocations: 47.94 kB / 0.6778 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/0.4356, allocations: 1.404 MB / 0.6792 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.4356, allocations: 1.25 kB / 0.6792 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.4357, allocations: 1.312 kB / 0.6792 GB, free: 13.14 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001317/0.4358, allocations: 123.1 kB / 0.6793 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.4358, allocations: 1.25 kB / 0.6793 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.4359, allocations: 7.5 kB / 0.6793 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4359, allocations: 1.062 kB / 0.6793 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.4359, allocations: 0 / 0.6793 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4359, allocations: 0 / 0.6793 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002022/0.4361, allocations: 157.3 kB / 0.6795 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.4361, allocations: 336 / 0.6795 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005956/0.4367, allocations: 47.66 kB / 0.6795 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.4368, allocations: 1.5 kB / 0.6795 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.4368, allocations: 7.984 kB / 0.6795 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002002/0.4388, allocations: 1.407 MB / 0.6809 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4388, allocations: 1.344 kB / 0.6809 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.4391, allocations: 72.09 kB / 0.681 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.4391, allocations: 78.61 kB / 0.681 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.4392, allocations: 3.938 kB / 0.681 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.231e-05/0.4392, allocations: 5.219 kB / 0.681 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.4393, allocations: 9.359 kB / 0.681 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/0.4393, allocations: 1.219 kB / 0.681 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.732e-05/0.4393, allocations: 75.28 kB / 0.6811 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4394, allocations: 1.469 kB / 0.6811 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003787/0.4397, allocations: 2.281 kB / 0.6811 GB, free: 11.04 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007179/0.4405, allocations: 0.6245 MB / 0.6817 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007672/0.4413, allocations: 60.89 kB / 0.6818 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.4413, allocations: 1.375 kB / 0.6818 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003979/0.4417, allocations: 38.58 kB / 0.6818 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.4419, allocations: 1.062 kB / 0.6818 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006486/0.4426, allocations: 127.1 kB / 0.6819 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.4431, allocations: 0.6765 MB / 0.6826 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.224e-05/0.4431, allocations: 1.031 kB / 0.6826 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.4432, allocations: 13.38 kB / 0.6826 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.4432, allocations: 0 / 0.6826 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/0.4742, allocations: 1.307 MB / 0.6839 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.92, allocations: 2.219 kB / 0.6839 GB, free: 8.82 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)