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/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.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.006343/0.006343, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001288/0.001288, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.064/1.064, allocations: 143 MB / 433.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.91 kB / 0.5951 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3952, allocations: 82.03 MB / 0.6752 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001682/0.3969, allocations: 0.5815 MB / 0.6758 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002906/0.3972, allocations: 96.75 kB / 0.6759 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.3972, allocations: 0 / 0.6759 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.295e-05/0.3973, allocations: 0 / 0.6759 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.786e-05/0.3973, allocations: 0 / 0.6759 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002329/0.3976, allocations: 18.77 kB / 0.6759 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.842e-05/0.3976, allocations: 11.73 kB / 0.6759 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.3977, allocations: 1.219 kB / 0.6759 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.111e-05/0.3977, allocations: 6.625 kB / 0.6759 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.549e-05/0.3978, allocations: 1.312 kB / 0.6759 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.3978, allocations: 5.438 kB / 0.6759 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.6e-05/0.3979, allocations: 14.05 kB / 0.6759 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.3979, allocations: 5.141 kB / 0.6759 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.3979, allocations: 5.109 kB / 0.6759 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.774e-05/0.398, allocations: 21.3 kB / 0.676 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.398, allocations: 0 / 0.676 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.013e-06/0.398, allocations: 5.031 kB / 0.676 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3981, allocations: 0 / 0.676 GB, free: 0.5938 MB / 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.000318/0.3984, allocations: 314.1 kB / 0.6763 GB, free: 248 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.3984, allocations: 9.156 kB / 0.6763 GB, free: 248 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.6e-05/0.3985, allocations: 40.44 kB / 0.6763 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.3986, allocations: 8.641 kB / 0.6763 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.278e-05/0.3987, allocations: 164.3 kB / 0.6765 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.3988, allocations: 1.5 kB / 0.6765 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.3988, allocations: 1.5 kB / 0.6765 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.3989, allocations: 35.44 kB / 0.6765 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3989, allocations: 4.938 kB / 0.6765 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.399, allocations: 4 kB / 0.6765 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.399, allocations: 5.188 kB / 0.6765 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.884e-05/0.3991, allocations: 10.2 kB / 0.6765 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.3992, allocations: 152.4 kB / 0.6767 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.3994, allocations: 45.06 kB / 0.6767 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.3995, allocations: 14.08 kB / 0.6767 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3995, allocations: 5.344 kB / 0.6767 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.3995, allocations: 30.56 kB / 0.6768 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3995, allocations: 0 / 0.6768 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0002075/0.3997, allocations: 58.55 kB / 0.6768 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.3998, allocations: 55.34 kB / 0.6769 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.062e-05/0.3998, allocations: 89.86 kB / 0.677 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.3999, allocations: 25.7 kB / 0.677 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.3999, allocations: 89.64 kB / 0.6771 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.3999, allocations: 11 kB / 0.6771 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.4, allocations: 16.17 kB / 0.6771 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.4001, allocations: 316.3 kB / 0.6774 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.75e-05/0.4001, allocations: 7.719 kB / 0.6774 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.048e-05/0.4002, allocations: 8.109 kB / 0.6774 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.632e-05/0.4002, allocations: 21 kB / 0.6774 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.4003, allocations: 5.094 kB / 0.6774 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001138/0.4004, allocations: 54.17 kB / 0.6775 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.4004, allocations: 4.625 kB / 0.6775 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.4004, allocations: 5.062 kB / 0.6775 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.4004, allocations: 3.938 kB / 0.6775 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003805/0.4008, allocations: 44.11 kB / 0.6775 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001331/0.4022, allocations: 1.403 MB / 0.6789 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.394e-05/0.4022, allocations: 6.016 kB / 0.6789 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.4022, allocations: 1.094 kB / 0.6789 GB, free: 13.39 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 8.893e-05/0.4023, allocations: 123.6 kB / 0.679 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.4023, allocations: 0.9688 kB / 0.679 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.742e-05/0.4024, allocations: 7.438 kB / 0.679 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4024, allocations: 1.344 kB / 0.679 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.4024, allocations: 0 / 0.679 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.4024, allocations: 1.062 kB / 0.6791 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.4025, allocations: 164.7 kB / 0.6792 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4025, allocations: 0 / 0.6792 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003663/0.4029, allocations: 51.39 kB / 0.6793 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4029, allocations: 0 / 0.6793 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.4029, allocations: 1.344 kB / 0.6793 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001187/0.4041, allocations: 1.407 MB / 0.6806 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4041, allocations: 5.391 kB / 0.6806 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.4042, allocations: 76.67 kB / 0.6807 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.4043, allocations: 77.11 kB / 0.6808 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.936e-06/0.4043, allocations: 5.156 kB / 0.6808 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.933e-05/0.4043, allocations: 5.266 kB / 0.6808 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.4044, allocations: 5.625 kB / 0.6808 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.4044, allocations: 1.844 kB / 0.6808 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.684e-05/0.4044, allocations: 75.28 kB / 0.6809 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4044, allocations: 3.938 kB / 0.6809 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001961/0.4046, allocations: 2.688 kB / 0.6809 GB, free: 11.28 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.0004378/0.4051, allocations: 0.6122 MB / 0.6815 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004896/0.4056, allocations: 65.69 kB / 0.6815 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4056, allocations: 0 / 0.6815 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.4058, allocations: 51.73 kB / 0.6816 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.406, allocations: 2.188 kB / 0.6816 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004715/0.4065, allocations: 126.3 kB / 0.6817 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.4067, allocations: 0.6723 MB / 0.6824 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.532e-05/0.4068, allocations: 5.406 kB / 0.6824 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.803e-05/0.4068, allocations: 12.64 kB / 0.6824 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.4068, allocations: 1.281 kB / 0.6824 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/0.4251, allocations: 1.309 MB / 0.6837 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.13, allocations: 3.844 kB / 0.6837 GB, free: 9.059 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)