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.001145/0.001145, allocations: 106.8 kB / 16.41 MB, free: 6.512 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.001192/0.001192, allocations: 189.7 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.254/1.254, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 289 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.8917/0.8917, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 95.86 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4232, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002676/0.4259, allocations: 1.438 MB / 0.7685 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006791/0.4266, allocations: 383.5 kB / 0.7688 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.825e-05/0.4267, allocations: 0 / 0.7688 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.4267, allocations: 0 / 0.7688 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.919e-05/0.4268, allocations: 11.88 kB / 0.7688 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.4273, allocations: 111.7 kB / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.222e-05/0.4273, allocations: 23.92 kB / 0.769 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.47e-05/0.4274, allocations: 7.656 kB / 0.769 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.749e-05/0.4275, allocations: 15.97 kB / 0.769 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.01e-05/0.4275, allocations: 15.88 kB / 0.769 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.4276, allocations: 0 / 0.769 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.4279, allocations: 279.6 kB / 0.7693 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.428, allocations: 3.938 kB / 0.7693 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.428, allocations: 15.92 kB / 0.7693 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.4282, allocations: 107.8 kB / 0.7694 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4282, allocations: 3.938 kB / 0.7694 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.956e-06/0.4282, allocations: 0 / 0.7694 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.4282, allocations: 3.938 kB / 0.7694 GB, free: 1.5 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.0004619/0.4287, allocations: 363.5 kB / 0.7697 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.4287, allocations: 8.031 kB / 0.7698 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.4288, allocations: 8.938 kB / 0.7698 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.4289, allocations: 166.8 kB / 0.7699 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.4289, allocations: 4.375 kB / 0.7699 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.429, allocations: 4.375 kB / 0.7699 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.4291, allocations: 54.22 kB / 0.77 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.4292, allocations: 192 / 0.77 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.4292, allocations: 3.938 kB / 0.77 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.4292, allocations: 0 / 0.77 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.4293, allocations: 35.95 kB / 0.77 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.4297, allocations: 256.9 kB / 0.7703 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.4298, allocations: 38.5 kB / 0.7703 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.474e-05/0.4299, allocations: 20.91 kB / 0.7703 GB, free: 412 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006677/0.4306, allocations: 465.5 kB / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.4306, allocations: 30.56 kB / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.4306, allocations: 0 / 0.7708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003866/0.431, allocations: 89.58 kB / 0.7709 GB, free: 15.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.431, allocations: 51.41 kB / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.068e-05/0.4311, allocations: 105.8 kB / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.4311, allocations: 25.7 kB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.4312, allocations: 80.14 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.997e-05/0.4312, allocations: 11.91 kB / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.4313, allocations: 9.719 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.4314, allocations: 323 kB / 0.7715 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.331e-05/0.4315, allocations: 15.98 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.138e-05/0.4315, allocations: 15.98 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.4317, allocations: 36.83 kB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4317, allocations: 3.938 kB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002083/0.4319, allocations: 81.5 kB / 0.7716 GB, free: 14.92 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.4319, allocations: 8 kB / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.432, allocations: 0 / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.432, allocations: 0 / 0.7716 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.966e-05/0.4321, allocations: 11.92 kB / 0.7716 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.4321, allocations: 0 / 0.7716 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.51e-05/0.4321, allocations: 7.984 kB / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.4321, allocations: 4 kB / 0.7716 GB, free: 14.89 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 8.015e-05/0.4322, allocations: 124.2 kB / 0.7718 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.4323, allocations: 0 / 0.7718 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.4325, allocations: 77.12 kB / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4325, allocations: 0 / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4325, allocations: 4 kB / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4325, allocations: 0 / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001599/0.4327, allocations: 161.6 kB / 0.772 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.4327, allocations: 4.25 kB / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/0.4328, allocations: 15.98 kB / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4328, allocations: 0 / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-06/0.4328, allocations: 0 / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.4328, allocations: 0 / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4328, allocations: 0 / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.4331, allocations: 173.1 kB / 0.7722 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.4331, allocations: 81.11 kB / 0.7722 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.4331, allocations: 0 / 0.7722 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/0.4332, allocations: 7.984 kB / 0.7723 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.4333, allocations: 3.938 kB / 0.7723 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.4333, allocations: 0 / 0.7723 GB, free: 14.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.877e-05/0.4333, allocations: 87.27 kB / 0.7723 GB, free: 14.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4333, allocations: 4 kB / 0.7723 GB, free: 14.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002259/0.4336, allocations: 16 kB / 0.7724 GB, free: 14.05 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.0001578/0.4337, allocations: 107.3 kB / 0.7725 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.4339, allocations: 35.95 kB / 0.7725 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4339, allocations: 0 / 0.7725 GB, free: 13.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.591e-05/0.434, allocations: 19.98 kB / 0.7725 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.4343, allocations: 12 kB / 0.7725 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/0.4346, allocations: 151.3 kB / 0.7727 GB, free: 13.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.4349, allocations: 0.6768 MB / 0.7733 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/0.4349, allocations: 11.44 kB / 0.7733 GB, free: 12.98 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.4349, allocations: 0 / 0.7733 GB, free: 12.98 MB / 0.545 GB Notification: Performance of Templates: time 0.002002/0.4369, allocations: 0.7057 MB / 0.774 GB, free: 12.27 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)