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/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.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.007969/0.007969, allocations: 99.56 kB / 15.73 MB, free: 6.422 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.001866/0.001866, allocations: 195.3 kB / 16.67 MB, free: 6.34 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.37/1.37, 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.071/1.071, allocations: 143 MB / 433.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 71.89 kB / 0.5951 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4749/0.4761, allocations: 82.02 MB / 0.6752 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001897/0.4781, allocations: 0.5805 MB / 0.6758 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006739/0.4788, allocations: 325.8 kB / 0.6761 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.4788, allocations: 1.344 kB / 0.6761 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.4789, allocations: 0 / 0.6761 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.241e-06/0.4789, allocations: 0 / 0.6761 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005763/0.4795, allocations: 110.7 kB / 0.6762 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.558e-05/0.4795, allocations: 5.281 kB / 0.6762 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.4796, allocations: 1.125 kB / 0.6762 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.464e-05/0.4796, allocations: 1.312 kB / 0.6762 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.317e-05/0.4796, allocations: 1.281 kB / 0.6762 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.4797, allocations: 3.938 kB / 0.6762 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004436/0.4801, allocations: 278 kB / 0.6765 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.4801, allocations: 4.938 kB / 0.6765 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.931e-05/0.4801, allocations: 1.062 kB / 0.6765 GB, free: 456 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.4803, allocations: 91.38 kB / 0.6766 GB, free: 392 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4804, allocations: 0 / 0.6766 GB, free: 392 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4804, allocations: 0 / 0.6766 GB, free: 392 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.4804, allocations: 5.531 kB / 0.6766 GB, free: 388 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002544/0.4806, allocations: 331.8 kB / 0.6769 GB, free: 12 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.4807, allocations: 9.094 kB / 0.6769 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.709e-05/0.4808, allocations: 30.75 kB / 0.6769 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.4808, allocations: 2.062 kB / 0.6769 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.4809, allocations: 168.4 kB / 0.6771 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.481, allocations: 1.719 kB / 0.6771 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-06/0.481, allocations: 384 / 0.6771 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.4811, allocations: 28.86 kB / 0.6771 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4811, allocations: 7.938 kB / 0.6771 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.4811, allocations: 3.984 kB / 0.6771 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.4811, allocations: 0 / 0.6771 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.559e-05/0.4811, allocations: 6.781 kB / 0.6771 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.4813, allocations: 141.7 kB / 0.6773 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.972e-05/0.4814, allocations: 25.53 kB / 0.6773 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.4814, allocations: 12.53 kB / 0.6773 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005982/0.482, allocations: 424 kB / 0.6777 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.4821, allocations: 35.75 kB / 0.6777 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.4821, allocations: 0 / 0.6777 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0002137/0.4823, allocations: 39.61 kB / 0.6778 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.4823, allocations: 51.53 kB / 0.6778 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.054e-05/0.4824, allocations: 93.86 kB / 0.6779 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.4824, allocations: 26.98 kB / 0.6779 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.37e-05/0.4825, allocations: 80.14 kB / 0.678 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.4825, allocations: 3.984 kB / 0.678 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.4825, allocations: 16.34 kB / 0.678 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4827, allocations: 310.8 kB / 0.6783 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.172e-05/0.4827, allocations: 1.438 kB / 0.6783 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-06/0.4827, allocations: 1.219 kB / 0.6783 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.2e-05/0.4828, allocations: 11.3 kB / 0.6783 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4828, allocations: 1.188 kB / 0.6783 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.498e-05/0.4829, allocations: 34.92 kB / 0.6784 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.4829, allocations: 7.156 kB / 0.6784 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.4829, allocations: 7.922 kB / 0.6784 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.39e-05/0.483, allocations: 1.375 kB / 0.6784 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.792e-05/0.483, allocations: 1.406 kB / 0.6784 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.483, allocations: 3.938 kB / 0.6784 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.593e-05/0.483, allocations: 7.734 kB / 0.6784 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.4831, allocations: 0 / 0.6784 GB, free: 14.25 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 (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 8.823e-05/0.4832, allocations: 111 kB / 0.6785 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.389e-05/0.4832, allocations: 5.188 kB / 0.6785 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/0.4833, allocations: 45.19 kB / 0.6786 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4833, allocations: 1.438 kB / 0.6786 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.4833, allocations: 0 / 0.6786 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.4834, allocations: 0 / 0.6786 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.4835, allocations: 151.1 kB / 0.6787 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4835, allocations: 0 / 0.6787 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.4835, allocations: 1.594 kB / 0.6787 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.4835, allocations: 5.406 kB / 0.6787 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.4836, allocations: 11.86 kB / 0.6787 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.4836, allocations: 1.156 kB / 0.6787 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4836, allocations: 0 / 0.6787 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.4837, allocations: 51.52 kB / 0.6788 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.367e-05/0.4838, allocations: 81.14 kB / 0.6789 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.4838, allocations: 5.219 kB / 0.6789 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.202e-05/0.4838, allocations: 3.984 kB / 0.6789 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.4839, allocations: 5.312 kB / 0.6789 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.4839, allocations: 1.25 kB / 0.6789 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.483e-05/0.4839, allocations: 75.28 kB / 0.6789 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4839, allocations: 3.938 kB / 0.6789 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002339/0.4841, allocations: 8.969 kB / 0.679 GB, free: 13.62 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 (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.000571/0.4847, allocations: 0.6095 MB / 0.6795 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.121e-05/0.4848, allocations: 3.844 kB / 0.6795 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4848, allocations: 1.188 kB / 0.6796 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.138e-05/0.4849, allocations: 5.344 kB / 0.6796 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001427/0.485, allocations: 1.625 kB / 0.6796 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.4854, allocations: 124.6 kB / 0.6797 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.4857, allocations: 0.6704 MB / 0.6803 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.378e-05/0.4858, allocations: 4.984 kB / 0.6803 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.972e-05/0.4858, allocations: 8.844 kB / 0.6803 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/0.4858, allocations: 0 / 0.6803 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.505, allocations: 1.203 MB / 0.6815 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.178/7.684, allocations: 9.781 kB / 0.6815 GB, free: 11.5 MB / 0.5137 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)