Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 113.6 kB / 16.41 MB, free: 6.445 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.001085/0.001085, allocations: 183 kB / 17.34 MB, free: 5.738 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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 308.9 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.905/0.905, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 95.84 kB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4079, allocations: 86.97 MB / 0.7671 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002282/0.4102, allocations: 1.434 MB / 0.7685 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006133/0.4108, allocations: 379.5 kB / 0.7688 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.4109, allocations: 3.938 kB / 0.7688 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.473e-05/0.4109, allocations: 3.938 kB / 0.7688 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.623e-05/0.4109, allocations: 11.94 kB / 0.7688 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003728/0.4113, allocations: 111.7 kB / 0.7689 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.147e-05/0.4114, allocations: 19.92 kB / 0.769 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.222e-05/0.4115, allocations: 19.62 kB / 0.769 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.601e-05/0.4115, allocations: 4 kB / 0.769 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.582e-05/0.4116, allocations: 15.92 kB / 0.769 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.4116, allocations: 0 / 0.769 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003888/0.412, allocations: 279.7 kB / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.412, allocations: 11.92 kB / 0.7693 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.412, allocations: 7.938 kB / 0.7693 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.4122, allocations: 111.8 kB / 0.7694 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.4122, allocations: 4 kB / 0.7694 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.183e-06/0.4122, allocations: 3.938 kB / 0.7694 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.4122, allocations: 0 / 0.7694 GB, free: 1.453 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004262/0.4127, allocations: 355.5 kB / 0.7697 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.872e-05/0.4127, allocations: 12.03 kB / 0.7697 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.483e-05/0.4127, allocations: 0.9375 kB / 0.7697 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.4129, allocations: 174.8 kB / 0.7699 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.4129, allocations: 384 / 0.7699 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.4129, allocations: 384 / 0.7699 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.413, allocations: 54.17 kB / 0.77 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.4131, allocations: 192 / 0.77 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.4131, allocations: 7.938 kB / 0.77 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.4131, allocations: 0 / 0.77 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.4132, allocations: 39.95 kB / 0.77 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.4135, allocations: 249 kB / 0.7702 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.4136, allocations: 42.44 kB / 0.7703 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.518e-05/0.4137, allocations: 28.89 kB / 0.7703 GB, free: 364 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006412/0.4144, allocations: 453.5 kB / 0.7707 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.4144, allocations: 34.56 kB / 0.7708 GB, free: 15.78 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4144, allocations: 4 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003459/0.4148, allocations: 81.64 kB / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.4148, allocations: 51.41 kB / 0.7709 GB, free: 15.62 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.569e-05/0.4149, allocations: 106 kB / 0.771 GB, free: 15.51 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.4149, allocations: 25.7 kB / 0.771 GB, free: 15.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.415, allocations: 84.14 kB / 0.7711 GB, free: 15.39 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.415, allocations: 19.95 kB / 0.7711 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.415, allocations: 9.719 kB / 0.7711 GB, free: 15.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.4151, allocations: 314.8 kB / 0.7714 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.162e-05/0.4152, allocations: 15.98 kB / 0.7715 GB, free: 15.03 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.14e-05/0.4153, allocations: 23.98 kB / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.4155, allocations: 44.88 kB / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4155, allocations: 0 / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001978/0.4157, allocations: 73.5 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.4157, allocations: 6.812 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4157, allocations: 4 kB / 0.7716 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.4157, allocations: 0 / 0.7716 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.701e-05/0.4158, allocations: 11.94 kB / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.4158, allocations: 3.984 kB / 0.7716 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.4159, allocations: 8.031 kB / 0.7716 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-06/0.4159, allocations: 0 / 0.7716 GB, free: 14.85 MB / 0.545 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 6.803e-05/0.4159, allocations: 120.1 kB / 0.7717 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.416, allocations: 0 / 0.7717 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002142/0.4162, allocations: 77.17 kB / 0.7718 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4162, allocations: 3.938 kB / 0.7718 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.4162, allocations: 4.031 kB / 0.7718 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4162, allocations: 4 kB / 0.7718 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.4164, allocations: 157.6 kB / 0.772 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4164, allocations: 0 / 0.772 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.586e-05/0.4165, allocations: 11.98 kB / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4165, allocations: 0 / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.4165, allocations: 0 / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4165, allocations: 3.938 kB / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4165, allocations: 0 / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.4167, allocations: 173.1 kB / 0.7722 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.4168, allocations: 77.11 kB / 0.7722 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.4168, allocations: 7.984 kB / 0.7722 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.4169, allocations: 4 kB / 0.7722 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.4169, allocations: 7.984 kB / 0.7723 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.4169, allocations: 0 / 0.7723 GB, free: 14.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.948e-05/0.417, allocations: 87.31 kB / 0.7723 GB, free: 14.03 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.417, allocations: 0 / 0.7723 GB, free: 14.03 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002199/0.4172, allocations: 16 kB / 0.7724 GB, free: 14.01 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 (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.0001401/0.4174, allocations: 119.2 kB / 0.7725 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.4176, allocations: 35.91 kB / 0.7725 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.4176, allocations: 3.938 kB / 0.7725 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.305e-05/0.4177, allocations: 24.03 kB / 0.7725 GB, free: 13.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.4179, allocations: 14.69 kB / 0.7725 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.4182, allocations: 135.3 kB / 0.7727 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.4185, allocations: 0.6807 MB / 0.7733 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.4185, allocations: 7.438 kB / 0.7733 GB, free: 12.93 MB / 0.545 GB Notification: Performance of SimCode: time 2.01e-07/0.4185, allocations: 0 / 0.7733 GB, free: 12.93 MB / 0.545 GB Notification: Performance of Templates: time 0.001901/0.4205, allocations: 0.7063 MB / 0.774 GB, free: 12.23 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)