Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001284/0.001284, allocations: 187 kB / 17.34 MB, free: 5.734 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002193/0.002193, allocations: 298.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8888/0.8888, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 95.84 kB / 0.6822 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.4451, allocations: 86.98 MB / 0.7671 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001798/0.4469, allocations: 0.5777 MB / 0.7677 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006456/0.4476, allocations: 330.8 kB / 0.768 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.774e-05/0.4477, allocations: 0 / 0.768 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.4477, allocations: 0 / 0.768 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.833e-06/0.4477, allocations: 0 / 0.768 GB, free: 2.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.4482, allocations: 111.7 kB / 0.7681 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.923e-05/0.4482, allocations: 0 / 0.7681 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.4483, allocations: 0 / 0.7681 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.665e-05/0.4483, allocations: 7.984 kB / 0.7681 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.003e-05/0.4483, allocations: 0 / 0.7681 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.4483, allocations: 3.938 kB / 0.7681 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.4487, allocations: 271.7 kB / 0.7683 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.4488, allocations: 3.984 kB / 0.7684 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.672e-05/0.4488, allocations: 0 / 0.7684 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000179/0.449, allocations: 91.86 kB / 0.7684 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.449, allocations: 0 / 0.7684 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.894e-06/0.449, allocations: 3.938 kB / 0.7684 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.449, allocations: 0 / 0.7684 GB, free: 2.496 MB / 0.5294 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.0003034/0.4493, allocations: 327.6 kB / 0.7688 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.4493, allocations: 12.03 kB / 0.7688 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.4494, allocations: 0.9375 kB / 0.7688 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.004e-05/0.4495, allocations: 160.4 kB / 0.7689 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.4495, allocations: 4.312 kB / 0.7689 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.4495, allocations: 4.375 kB / 0.7689 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.259e-05/0.4496, allocations: 34.27 kB / 0.769 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.4497, allocations: 192 / 0.769 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.4497, allocations: 3.938 kB / 0.769 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4497, allocations: 0 / 0.769 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.983e-05/0.4497, allocations: 3.984 kB / 0.769 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/0.4498, allocations: 149.3 kB / 0.7691 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.853e-05/0.4499, allocations: 18.52 kB / 0.7691 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.814e-05/0.4499, allocations: 8.859 kB / 0.7691 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004852/0.4504, allocations: 433.5 kB / 0.7696 GB, free: 1.117 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.4504, allocations: 34.56 kB / 0.7696 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.4504, allocations: 4 kB / 0.7696 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001574/0.4506, allocations: 45.62 kB / 0.7696 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.4506, allocations: 51.41 kB / 0.7697 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.105e-05/0.4507, allocations: 89.86 kB / 0.7698 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.4507, allocations: 25.7 kB / 0.7698 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.14e-05/0.4507, allocations: 80.14 kB / 0.7699 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.4508, allocations: 3.906 kB / 0.7699 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.588e-05/0.4508, allocations: 13.72 kB / 0.7699 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.4509, allocations: 314.8 kB / 0.7702 GB, free: 416 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-06/0.4509, allocations: 8.062 kB / 0.7702 GB, free: 408 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-06/0.4509, allocations: 4 kB / 0.7702 GB, free: 404 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.453e-05/0.451, allocations: 4.859 kB / 0.7702 GB, free: 396 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.451, allocations: 0 / 0.7702 GB, free: 396 kB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.659e-05/0.451, allocations: 37.69 kB / 0.7702 GB, free: 352 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.4511, allocations: 4 kB / 0.7702 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.4511, allocations: 0 / 0.7702 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.4511, allocations: 3.938 kB / 0.7702 GB, free: 344 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.372e-05/0.4511, allocations: 8.094 kB / 0.7703 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4512, allocations: 0 / 0.7703 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.212e-05/0.4512, allocations: 0 / 0.7703 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.4512, allocations: 3.938 kB / 0.7703 GB, free: 332 kB / 0.5294 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 6.733e-05/0.4512, allocations: 116.2 kB / 0.7704 GB, free: 208 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/0.4513, allocations: 3.984 kB / 0.7704 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.3e-05/0.4514, allocations: 36.77 kB / 0.7704 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4514, allocations: 3.938 kB / 0.7704 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4514, allocations: 4.031 kB / 0.7704 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4514, allocations: 0 / 0.7704 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.4515, allocations: 153.7 kB / 0.7706 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4515, allocations: 0 / 0.7706 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.418e-05/0.4515, allocations: 0 / 0.7706 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.4515, allocations: 0 / 0.7706 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.4515, allocations: 3.938 kB / 0.7706 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.4516, allocations: 7.938 kB / 0.7706 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.4516, allocations: 0 / 0.7706 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.416e-05/0.4517, allocations: 65.06 kB / 0.7706 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.095e-05/0.4517, allocations: 77.11 kB / 0.7707 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.4517, allocations: 7.938 kB / 0.7707 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-06/0.4517, allocations: 0 / 0.7707 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.4517, allocations: 0 / 0.7707 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.4517, allocations: 0 / 0.7707 GB, free: 15.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.762e-05/0.4518, allocations: 75.28 kB / 0.7708 GB, free: 15.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4518, allocations: 0 / 0.7708 GB, free: 15.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000202/0.452, allocations: 16 kB / 0.7708 GB, free: 15.67 MB / 0.545 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.0001882/0.4522, allocations: 115.3 kB / 0.7709 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.822e-05/0.4523, allocations: 4 kB / 0.7709 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4523, allocations: 3.938 kB / 0.7709 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.604e-06/0.4523, allocations: 4 kB / 0.7709 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001298/0.4524, allocations: 0.75 kB / 0.7709 GB, free: 15.53 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.4526, allocations: 114.8 kB / 0.771 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.4529, allocations: 0.673 MB / 0.7717 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.4529, allocations: 7.438 kB / 0.7717 GB, free: 14.68 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.4529, allocations: 0 / 0.7717 GB, free: 14.68 MB / 0.545 GB Notification: Performance of Templates: time 0.001698/0.4546, allocations: 471.5 kB / 0.7721 GB, free: 14.22 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)