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.001312/0.001312, allocations: 108.6 kB / 16.41 MB, free: 6.453 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.001302/0.001302, allocations: 191.8 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.402/1.402, 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.002497/0.002497, allocations: 284.2 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.102/1.102, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00284/0.00284, allocations: 99.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4256, allocations: 86.98 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002437/0.4281, allocations: 1.438 MB / 0.7685 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007116/0.4288, allocations: 379.5 kB / 0.7688 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.944e-05/0.4288, allocations: 7.938 kB / 0.7688 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.403e-05/0.4288, allocations: 4 kB / 0.7688 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.587e-05/0.4289, allocations: 3.938 kB / 0.7688 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.4293, allocations: 111.7 kB / 0.769 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.049e-05/0.4293, allocations: 23.92 kB / 0.769 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.732e-05/0.4294, allocations: 4 kB / 0.769 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.892e-05/0.4295, allocations: 11.98 kB / 0.769 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.857e-05/0.4295, allocations: 15.92 kB / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.074e-05/0.4295, allocations: 0 / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003961/0.4299, allocations: 287.5 kB / 0.7693 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.471e-05/0.4299, allocations: 7.922 kB / 0.7693 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.43, allocations: 11.92 kB / 0.7693 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.4301, allocations: 113.3 kB / 0.7694 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4302, allocations: 4 kB / 0.7694 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.4302, allocations: 0 / 0.7694 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.4302, allocations: 0 / 0.7694 GB, free: 1.531 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.0004943/0.4307, allocations: 359.2 kB / 0.7698 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.4307, allocations: 8.031 kB / 0.7698 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.759e-05/0.4307, allocations: 8.891 kB / 0.7698 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.4309, allocations: 180.3 kB / 0.7699 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.4309, allocations: 384 / 0.7699 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.4309, allocations: 384 / 0.7699 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.4311, allocations: 50.23 kB / 0.77 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.4311, allocations: 192 / 0.77 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.4311, allocations: 7.938 kB / 0.77 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.4311, allocations: 3.984 kB / 0.77 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000181/0.4313, allocations: 39.91 kB / 0.77 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.4316, allocations: 245 kB / 0.7703 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.4318, allocations: 38.5 kB / 0.7703 GB, free: 468 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.111e-05/0.4319, allocations: 24.89 kB / 0.7703 GB, free: 440 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000749/0.4326, allocations: 457.5 kB / 0.7708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.4326, allocations: 34.56 kB / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.4326, allocations: 0 / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003727/0.433, allocations: 93.53 kB / 0.7709 GB, free: 15.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.433, allocations: 55.41 kB / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.163e-05/0.4331, allocations: 105.8 kB / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.4331, allocations: 25.7 kB / 0.7711 GB, free: 15.54 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.4332, allocations: 80.14 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.4332, allocations: 8.062 kB / 0.7712 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.554e-05/0.4333, allocations: 25.7 kB / 0.7712 GB, free: 15.42 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.4334, allocations: 310.8 kB / 0.7715 GB, free: 15.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.254e-05/0.4335, allocations: 19.98 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.515e-05/0.4336, allocations: 15.92 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.4337, allocations: 52.81 kB / 0.7716 GB, free: 15.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4337, allocations: 0 / 0.7716 GB, free: 15.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002136/0.4339, allocations: 65.61 kB / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.434, allocations: 4 kB / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.434, allocations: 3.984 kB / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.434, allocations: 0 / 0.7716 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.546e-05/0.434, allocations: 8 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.434, allocations: 0 / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.732e-05/0.4341, allocations: 15.95 kB / 0.7717 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.4341, allocations: 0 / 0.7717 GB, free: 14.91 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 9.101e-05/0.4342, allocations: 120.2 kB / 0.7718 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/0.4342, allocations: 3.953 kB / 0.7718 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002316/0.4345, allocations: 77.11 kB / 0.7718 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4345, allocations: 0 / 0.7718 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.4345, allocations: 4.031 kB / 0.7718 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4345, allocations: 0 / 0.7718 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.4346, allocations: 165.6 kB / 0.772 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4346, allocations: 0 / 0.772 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-05/0.4347, allocations: 7.984 kB / 0.772 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4347, allocations: 256 / 0.772 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.4347, allocations: 4 kB / 0.772 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.4347, allocations: 4 kB / 0.772 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4347, allocations: 0 / 0.772 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.435, allocations: 173.2 kB / 0.7722 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.435, allocations: 77.11 kB / 0.7723 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.4351, allocations: 0 / 0.7723 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.4351, allocations: 7.984 kB / 0.7723 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.4352, allocations: 4 kB / 0.7723 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.4352, allocations: 0 / 0.7723 GB, free: 14.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.491e-05/0.4352, allocations: 87.27 kB / 0.7724 GB, free: 14.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4352, allocations: 4.031 kB / 0.7724 GB, free: 14.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002317/0.4355, allocations: 15.94 kB / 0.7724 GB, free: 14.08 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.0001655/0.4356, allocations: 111.2 kB / 0.7725 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002156/0.4358, allocations: 31.97 kB / 0.7725 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.4358, allocations: 3.938 kB / 0.7725 GB, free: 13.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.322e-05/0.4359, allocations: 27.98 kB / 0.7725 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.4362, allocations: 11.86 kB / 0.7726 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002534/0.4364, allocations: 109.5 kB / 0.7727 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.4368, allocations: 0.6807 MB / 0.7733 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.1e-05/0.4368, allocations: 0 / 0.7733 GB, free: 13.05 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.031e-05/0.4368, allocations: 7.438 kB / 0.7733 GB, free: 13.04 MB / 0.545 GB Notification: Performance of SimCode: time 3.41e-07/0.4368, allocations: 4 kB / 0.7733 GB, free: 13.04 MB / 0.545 GB Notification: Performance of Templates: time 0.003058/0.4399, allocations: 0.7214 MB / 0.774 GB, free: 12.32 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)