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.006955/0.006955, allocations: 102 kB / 15.73 MB, free: 6.043 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.00156/0.00156, allocations: 195 kB / 16.67 MB, free: 5.965 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.28/1.28, allocations: 222.9 MB / 240.4 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.002057/0.002057, allocations: 278.7 kB / 290.8 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.8995/0.8995, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 103.8 kB / 0.6814 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4121, allocations: 86.98 MB / 0.7664 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002198/0.4143, allocations: 1.433 MB / 0.7678 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006534/0.415, allocations: 383.5 kB / 0.7682 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.415, allocations: 7.938 kB / 0.7682 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.415, allocations: 0 / 0.7682 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.383e-05/0.4151, allocations: 3.938 kB / 0.7682 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.4155, allocations: 111.7 kB / 0.7683 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.182e-05/0.4156, allocations: 23.92 kB / 0.7683 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.917e-05/0.4157, allocations: 11.66 kB / 0.7683 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.704e-05/0.4157, allocations: 7.984 kB / 0.7683 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.814e-05/0.4158, allocations: 15.92 kB / 0.7683 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.4158, allocations: 4 kB / 0.7683 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003572/0.4161, allocations: 275.6 kB / 0.7686 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.4162, allocations: 7.938 kB / 0.7686 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.279e-05/0.4162, allocations: 11.92 kB / 0.7686 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.4164, allocations: 111.8 kB / 0.7687 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4164, allocations: 0 / 0.7687 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.482e-06/0.4164, allocations: 3.938 kB / 0.7687 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.4164, allocations: 0 / 0.7687 GB, free: 1.484 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.000451/0.4169, allocations: 359.5 kB / 0.7691 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.4169, allocations: 11.97 kB / 0.7691 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.249e-05/0.417, allocations: 4.938 kB / 0.7691 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.4171, allocations: 170.8 kB / 0.7692 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.4171, allocations: 8.375 kB / 0.7693 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.4171, allocations: 4.375 kB / 0.7693 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.4173, allocations: 54.22 kB / 0.7693 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.4173, allocations: 192 / 0.7693 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.4173, allocations: 3.938 kB / 0.7693 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.4173, allocations: 0 / 0.7693 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.4175, allocations: 35.95 kB / 0.7693 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.4178, allocations: 256.9 kB / 0.7696 GB, free: 464 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.4179, allocations: 38.5 kB / 0.7696 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.438e-05/0.418, allocations: 20.91 kB / 0.7696 GB, free: 392 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006547/0.4187, allocations: 465.5 kB / 0.7701 GB, free: 15.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.4187, allocations: 30.56 kB / 0.7701 GB, free: 15.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4187, allocations: 0 / 0.7701 GB, free: 15.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003624/0.4191, allocations: 89.58 kB / 0.7702 GB, free: 15.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.4191, allocations: 51.41 kB / 0.7703 GB, free: 15.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.213e-05/0.4192, allocations: 105.8 kB / 0.7704 GB, free: 15.53 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.4192, allocations: 25.7 kB / 0.7704 GB, free: 15.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.4192, allocations: 88.14 kB / 0.7705 GB, free: 15.41 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.4193, allocations: 3.906 kB / 0.7705 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.741e-05/0.4193, allocations: 9.719 kB / 0.7705 GB, free: 15.39 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.4194, allocations: 327 kB / 0.7708 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.139e-05/0.4195, allocations: 11.98 kB / 0.7708 GB, free: 15.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.332e-05/0.4196, allocations: 23.92 kB / 0.7708 GB, free: 15.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.4197, allocations: 32.83 kB / 0.7709 GB, free: 14.99 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4197, allocations: 0 / 0.7709 GB, free: 14.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002062/0.42, allocations: 81.5 kB / 0.7709 GB, free: 14.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.42, allocations: 8 kB / 0.7709 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.42, allocations: 0 / 0.7709 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.42, allocations: 0 / 0.7709 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/0.4201, allocations: 11.98 kB / 0.771 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.4201, allocations: 0 / 0.771 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.624e-05/0.4201, allocations: 7.984 kB / 0.771 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-06/0.4202, allocations: 0 / 0.771 GB, free: 14.88 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 7.373e-05/0.4202, allocations: 124.2 kB / 0.7711 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.4203, allocations: 4 kB / 0.7711 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.4205, allocations: 73.12 kB / 0.7712 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4205, allocations: 7.938 kB / 0.7712 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4205, allocations: 0 / 0.7712 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.4205, allocations: 0 / 0.7712 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.4207, allocations: 161.6 kB / 0.7713 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.4207, allocations: 4.031 kB / 0.7713 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.776e-05/0.4208, allocations: 11.98 kB / 0.7713 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.4208, allocations: 0 / 0.7713 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.4208, allocations: 256 / 0.7713 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.4208, allocations: 4 kB / 0.7713 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4208, allocations: 0 / 0.7713 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.421, allocations: 177.1 kB / 0.7715 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.4211, allocations: 77.11 kB / 0.7716 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.4211, allocations: 0 / 0.7716 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/0.4212, allocations: 7.984 kB / 0.7716 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.4212, allocations: 0 / 0.7716 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.4212, allocations: 3.938 kB / 0.7716 GB, free: 14.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.471e-05/0.4213, allocations: 91.27 kB / 0.7717 GB, free: 14.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4213, allocations: 0 / 0.7717 GB, free: 14.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002264/0.4215, allocations: 16 kB / 0.7717 GB, free: 14.03 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.0001399/0.4217, allocations: 107.3 kB / 0.7718 GB, free: 13.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.4219, allocations: 43.95 kB / 0.7718 GB, free: 13.88 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4219, allocations: 3.938 kB / 0.7718 GB, free: 13.87 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.341e-05/0.422, allocations: 15.98 kB / 0.7719 GB, free: 13.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.4222, allocations: 10.28 kB / 0.7719 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002341/0.4225, allocations: 121.7 kB / 0.772 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.4227, allocations: 0.6768 MB / 0.7726 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.356e-05/0.4227, allocations: 4 kB / 0.7726 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.861e-05/0.4228, allocations: 7.438 kB / 0.7727 GB, free: 12.99 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.4228, allocations: 0 / 0.7727 GB, free: 12.99 MB / 0.545 GB Notification: Performance of Templates: time 0.002552/0.4253, allocations: 0.7313 MB / 0.7734 GB, free: 12.26 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)