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.007939/0.007939, allocations: 101.3 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.001687/0.001687, allocations: 198.8 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.191 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.016/1.016, allocations: 143 MB / 433.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 67.89 kB / 0.5951 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4672, allocations: 82.02 MB / 0.6752 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002541/0.4698, allocations: 1.438 MB / 0.6766 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008134/0.4706, allocations: 385.2 kB / 0.6769 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.4706, allocations: 4 kB / 0.6769 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.4707, allocations: 3.938 kB / 0.6769 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.531e-05/0.4707, allocations: 3.938 kB / 0.6769 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.4712, allocations: 112.4 kB / 0.6771 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.578e-05/0.4713, allocations: 26.33 kB / 0.6771 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.55e-05/0.4714, allocations: 6.672 kB / 0.6771 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.895e-05/0.4714, allocations: 19.84 kB / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.221e-05/0.4715, allocations: 11.69 kB / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.4715, allocations: 2.812 kB / 0.6771 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004014/0.4719, allocations: 284.2 kB / 0.6774 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.4719, allocations: 3.938 kB / 0.6774 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.472, allocations: 14.23 kB / 0.6774 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.4722, allocations: 108.9 kB / 0.6775 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4722, allocations: 0 / 0.6775 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4722, allocations: 0 / 0.6775 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.4722, allocations: 1.25 kB / 0.6775 GB, free: 15.36 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.000537/0.4728, allocations: 369.4 kB / 0.6779 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.4728, allocations: 9 kB / 0.6779 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.053e-05/0.4729, allocations: 35.91 kB / 0.6779 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.638e-05/0.4729, allocations: 2.062 kB / 0.6779 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.4731, allocations: 170.8 kB / 0.6781 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.4731, allocations: 5.547 kB / 0.6781 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.4731, allocations: 1.5 kB / 0.6781 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.4733, allocations: 45.06 kB / 0.6781 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.4733, allocations: 9.375 kB / 0.6781 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.4733, allocations: 0 / 0.6781 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4733, allocations: 7.922 kB / 0.6781 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001543/0.4735, allocations: 30.97 kB / 0.6782 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.4739, allocations: 250.9 kB / 0.6784 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.474, allocations: 44.06 kB / 0.6784 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.913e-05/0.4741, allocations: 18.84 kB / 0.6785 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006968/0.4748, allocations: 468.4 kB / 0.6789 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.4748, allocations: 34.5 kB / 0.6789 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4748, allocations: 1.062 kB / 0.6789 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003773/0.4752, allocations: 81.92 kB / 0.679 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/0.4753, allocations: 51.41 kB / 0.6791 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.431e-05/0.4753, allocations: 109.7 kB / 0.6792 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.4754, allocations: 27.05 kB / 0.6792 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.892e-05/0.4754, allocations: 85.8 kB / 0.6793 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.4754, allocations: 3.906 kB / 0.6793 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.4755, allocations: 12.22 kB / 0.6793 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4756, allocations: 320 kB / 0.6796 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.901e-05/0.4757, allocations: 13.89 kB / 0.6796 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-05/0.4758, allocations: 25.2 kB / 0.6796 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.4759, allocations: 44.09 kB / 0.6797 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4759, allocations: 3.938 kB / 0.6797 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001955/0.4761, allocations: 66.08 kB / 0.6798 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4761, allocations: 6.344 kB / 0.6798 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.4761, allocations: 1.156 kB / 0.6798 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4762, allocations: 4 kB / 0.6798 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.445e-05/0.4762, allocations: 10.58 kB / 0.6798 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4763, allocations: 0 / 0.6798 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.4763, allocations: 8.422 kB / 0.6798 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.4763, allocations: 0 / 0.6798 GB, free: 12.97 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 7.761e-05/0.4764, allocations: 115.8 kB / 0.6799 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.4764, allocations: 2.094 kB / 0.6799 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.4767, allocations: 79.88 kB / 0.68 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4767, allocations: 1.094 kB / 0.68 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4767, allocations: 0 / 0.68 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4767, allocations: 5.359 kB / 0.68 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.4769, allocations: 157.8 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4769, allocations: 1.188 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.429e-05/0.477, allocations: 10.27 kB / 0.6801 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.477, allocations: 0 / 0.6801 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.477, allocations: 4.938 kB / 0.6801 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.477, allocations: 4.031 kB / 0.6801 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.477, allocations: 1 kB / 0.6801 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.4772, allocations: 168.7 kB / 0.6803 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-05/0.4773, allocations: 84.95 kB / 0.6804 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.4773, allocations: 1.062 kB / 0.6804 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.4774, allocations: 15.34 kB / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.4775, allocations: 2.219 kB / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.4775, allocations: 1.188 kB / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.333e-05/0.4775, allocations: 91.61 kB / 0.6805 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4775, allocations: 0 / 0.6805 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002248/0.4777, allocations: 11.78 kB / 0.6805 GB, free: 12.22 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.0006191/0.4784, allocations: 0.7149 MB / 0.6812 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.4786, allocations: 42.39 kB / 0.6812 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.4786, allocations: 3.938 kB / 0.6812 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.851e-05/0.4787, allocations: 19.64 kB / 0.6813 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.479, allocations: 10.2 kB / 0.6813 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/0.4794, allocations: 142.9 kB / 0.6814 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002519/0.4797, allocations: 0.6822 MB / 0.6821 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.255e-05/0.4797, allocations: 1.406 kB / 0.6821 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.4798, allocations: 12.94 kB / 0.6821 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.4798, allocations: 3.938 kB / 0.6821 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01602/0.4958, allocations: 1.612 MB / 0.6837 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.317/7.813, allocations: 4.156 kB / 0.6837 GB, free: 9.73 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)