Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.007141/0.007141, allocations: 98.56 kB / 15.73 MB, free: 6.012 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.00155/0.00155, allocations: 191.8 kB / 16.67 MB, free: 5.949 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.06/1.06, allocations: 143.3 MB / 433.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 67.89 kB / 0.5953 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4068, allocations: 82.02 MB / 0.6754 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002472/0.4094, allocations: 1.432 MB / 0.6768 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000316/0.4097, allocations: 96.05 kB / 0.6769 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.96e-05/0.4097, allocations: 1.156 kB / 0.6769 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.4098, allocations: 3.938 kB / 0.6769 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.408e-05/0.4099, allocations: 4.969 kB / 0.6769 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.4101, allocations: 20.25 kB / 0.6769 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.352e-05/0.4102, allocations: 30.34 kB / 0.677 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.4103, allocations: 7.484 kB / 0.677 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.218e-05/0.4103, allocations: 7.188 kB / 0.677 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.531e-05/0.4104, allocations: 11.17 kB / 0.677 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.4104, allocations: 2.531 kB / 0.677 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.962e-05/0.4105, allocations: 17.64 kB / 0.677 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.4105, allocations: 7.984 kB / 0.677 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.4105, allocations: 14.23 kB / 0.677 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.4107, allocations: 32.83 kB / 0.6771 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.4107, allocations: 8 kB / 0.6771 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4107, allocations: 0 / 0.6771 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.4107, allocations: 0 / 0.6771 GB, free: 15.67 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.0005201/0.4112, allocations: 343.6 kB / 0.6774 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4113, allocations: 13.53 kB / 0.6774 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.4113, allocations: 35.8 kB / 0.6774 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.4115, allocations: 15.75 kB / 0.6775 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.4116, allocations: 162.8 kB / 0.6776 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.4116, allocations: 1.656 kB / 0.6776 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.4116, allocations: 5.438 kB / 0.6776 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.4118, allocations: 57.53 kB / 0.6777 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.4119, allocations: 3.938 kB / 0.6777 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.4119, allocations: 4 kB / 0.6777 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.4119, allocations: 1.094 kB / 0.6777 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.4121, allocations: 45.89 kB / 0.6777 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.4125, allocations: 266.6 kB / 0.678 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.4127, allocations: 58.06 kB / 0.678 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.4128, allocations: 31.02 kB / 0.6781 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.4128, allocations: 7.969 kB / 0.6781 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.4129, allocations: 35.75 kB / 0.6781 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4129, allocations: 0 / 0.6781 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0004243/0.4133, allocations: 108 kB / 0.6782 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.4134, allocations: 52.66 kB / 0.6783 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.836e-05/0.4134, allocations: 108.8 kB / 0.6784 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.4135, allocations: 26.73 kB / 0.6784 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.4135, allocations: 85.27 kB / 0.6785 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.4135, allocations: 4.922 kB / 0.6785 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.4136, allocations: 11.75 kB / 0.6785 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.4137, allocations: 319.9 kB / 0.6788 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.4139, allocations: 21.36 kB / 0.6788 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.414, allocations: 29.12 kB / 0.6788 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002291/0.4142, allocations: 55.28 kB / 0.6789 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.4142, allocations: 3.938 kB / 0.6789 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002584/0.4145, allocations: 81.06 kB / 0.679 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4145, allocations: 4.062 kB / 0.679 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.4145, allocations: 5.359 kB / 0.679 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.4145, allocations: 0 / 0.679 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.4146, allocations: 10.77 kB / 0.679 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.4147, allocations: 1.531 kB / 0.679 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.208e-05/0.4147, allocations: 4.031 kB / 0.679 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.4147, allocations: 5.219 kB / 0.679 GB, free: 13.74 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 9.05e-05/0.4148, allocations: 123.2 kB / 0.6791 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.613e-05/0.4149, allocations: 6.016 kB / 0.6791 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.4149, allocations: 4.719 kB / 0.6791 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4149, allocations: 0 / 0.6791 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4149, allocations: 1.281 kB / 0.6791 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.4149, allocations: 0 / 0.6791 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.4151, allocations: 167.4 kB / 0.6793 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.4151, allocations: 1.5 kB / 0.6793 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.97e-05/0.4152, allocations: 15.2 kB / 0.6793 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.4152, allocations: 0 / 0.6793 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.4152, allocations: 4 kB / 0.6793 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4152, allocations: 1.156 kB / 0.6793 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4152, allocations: 0 / 0.6793 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.4156, allocations: 175.4 kB / 0.6795 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.4157, allocations: 78.45 kB / 0.6796 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.4157, allocations: 32 / 0.6796 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.144e-05/0.4158, allocations: 17.02 kB / 0.6796 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.4158, allocations: 5.406 kB / 0.6796 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.4158, allocations: 1.531 kB / 0.6796 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.632e-05/0.4159, allocations: 82.98 kB / 0.6797 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4159, allocations: 1.344 kB / 0.6797 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002148/0.4161, allocations: 7.844 kB / 0.6797 GB, free: 13.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 (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.0005928/0.4167, allocations: 0.7171 MB / 0.6804 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002598/0.417, allocations: 49.42 kB / 0.6804 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.417, allocations: 5.219 kB / 0.6804 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.4171, allocations: 30.94 kB / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.4174, allocations: 2.438 kB / 0.6805 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005478/0.418, allocations: 156.6 kB / 0.6806 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.4184, allocations: 0.6733 MB / 0.6813 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.4184, allocations: 9.141 kB / 0.6813 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/0.4185, allocations: 8.562 kB / 0.6813 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.4185, allocations: 1.219 kB / 0.6813 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02319/0.4417, allocations: 1.463 MB / 0.6827 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.985/8.427, allocations: 14.33 kB / 0.6827 GB, free: 10.61 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)