Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 185.5 kB / 16.92 MB, free: 6.75 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.472/1.472, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7575/0.7575, allocations: 123 MB / 415.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003453, allocations: 8 kB / 0.4933 GB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5026/0.503, allocations: 79.29 MB / 0.5707 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002512/0.5055, allocations: 1.511 MB / 0.5722 GB, free: 9.75 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009529/0.5065, allocations: 0.5263 MB / 0.5727 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.5066, allocations: 6.344 kB / 0.5727 GB, free: 9.426 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.5068, allocations: 14.52 kB / 0.5728 GB, free: 9.418 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.917e-05/0.5069, allocations: 27.19 kB / 0.5728 GB, free: 9.398 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.5071, allocations: 50.67 kB / 0.5728 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.5074, allocations: 163.6 kB / 0.573 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.5076, allocations: 54.42 kB / 0.573 GB, free: 9.273 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.562e-05/0.5077, allocations: 46.16 kB / 0.5731 GB, free: 9.25 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.538e-05/0.5078, allocations: 46.2 kB / 0.5731 GB, free: 9.227 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.103e-05/0.5078, allocations: 5.062 kB / 0.5731 GB, free: 9.227 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.136e-05/0.5079, allocations: 4.094 kB / 0.5731 GB, free: 9.227 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.098e-05/0.5079, allocations: 24.03 kB / 0.5732 GB, free: 9.211 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.825e-05/0.508, allocations: 84.64 kB / 0.5732 GB, free: 9.141 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.5082, allocations: 126.2 kB / 0.5734 GB, free: 9.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.5082, allocations: 0 / 0.5734 GB, free: 9.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5082, allocations: 0 / 0.5734 GB, free: 9.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.5083, allocations: 0 / 0.5734 GB, free: 9.09 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007418/0.509, allocations: 462.3 kB / 0.5738 GB, free: 8.672 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.5091, allocations: 8.688 kB / 0.5738 GB, free: 8.672 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.167e-05/0.5091, allocations: 18.94 kB / 0.5738 GB, free: 8.664 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.5094, allocations: 232.5 kB / 0.574 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.5094, allocations: 8.5 kB / 0.5741 GB, free: 8.43 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.5095, allocations: 13.03 kB / 0.5741 GB, free: 8.426 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.5098, allocations: 157.2 kB / 0.5742 GB, free: 8.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5098, allocations: 1.344 kB / 0.5742 GB, free: 8.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.5099, allocations: 5.375 kB / 0.5742 GB, free: 8.316 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-06/0.5099, allocations: 2.812 kB / 0.5742 GB, free: 8.316 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002608/0.5101, allocations: 83.19 kB / 0.5743 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009035/0.511, allocations: 0.736 MB / 0.575 GB, free: 7.629 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.5112, allocations: 57 kB / 0.5751 GB, free: 7.594 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.5114, allocations: 40.02 kB / 0.5751 GB, free: 7.578 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.5114, allocations: 4.953 kB / 0.5751 GB, free: 7.574 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003093/0.5117, allocations: 136.1 kB / 0.5753 GB, free: 7.469 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.5117, allocations: 0 / 0.5753 GB, free: 7.469 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005545/0.5123, allocations: 180.5 kB / 0.5754 GB, free: 7.398 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.5124, allocations: 139.1 kB / 0.5756 GB, free: 7.234 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002005/0.5126, allocations: 201 kB / 0.5757 GB, free: 7.102 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.5126, allocations: 32.42 kB / 0.5758 GB, free: 7.066 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.5127, allocations: 128.6 kB / 0.5759 GB, free: 6.949 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.5127, allocations: 28.61 kB / 0.5759 GB, free: 6.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.5128, allocations: 27.5 kB / 0.576 GB, free: 6.906 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.774e-05/0.5128, allocations: 332.8 kB / 0.5763 GB, free: 6.582 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.513, allocations: 46.3 kB / 0.5763 GB, free: 6.57 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.5132, allocations: 147.7 kB / 0.5765 GB, free: 6.418 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003208/0.5135, allocations: 220.3 kB / 0.5767 GB, free: 6.227 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.5135, allocations: 1.406 kB / 0.5767 GB, free: 6.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004397/0.514, allocations: 217.6 kB / 0.5769 GB, free: 6.129 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.514, allocations: 6.875 kB / 0.5769 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.514, allocations: 4.609 kB / 0.5769 GB, free: 6.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.514, allocations: 9.344 kB / 0.5769 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.5142, allocations: 31.67 kB / 0.5769 GB, free: 6.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.5142, allocations: 13.95 kB / 0.5769 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.5144, allocations: 33.34 kB / 0.577 GB, free: 6.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.5144, allocations: 8.719 kB / 0.577 GB, free: 6.105 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.812e-05/0.5145, allocations: 139.4 kB / 0.5771 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.5145, allocations: 17.41 kB / 0.5771 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.5146, allocations: 21.28 kB / 0.5772 GB, free: 5.949 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.5146, allocations: 6.344 kB / 0.5772 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5146, allocations: 2.297 kB / 0.5772 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.5146, allocations: 1.422 kB / 0.5772 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007436/0.5154, allocations: 0.528 MB / 0.5777 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.5154, allocations: 0.6094 kB / 0.5777 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.5155, allocations: 22.73 kB / 0.5777 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.5155, allocations: 1.406 kB / 0.5777 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.5156, allocations: 10.69 kB / 0.5777 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.5156, allocations: 3.297 kB / 0.5777 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.5156, allocations: 3.938 kB / 0.5777 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004969/0.5161, allocations: 379.7 kB / 0.5781 GB, free: 5.227 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.122e-05/0.5161, allocations: 94.75 kB / 0.5782 GB, free: 5.121 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.5162, allocations: 7.219 kB / 0.5782 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.5164, allocations: 17.91 kB / 0.5782 GB, free: 5.117 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.5164, allocations: 13.2 kB / 0.5782 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.5164, allocations: 13.56 kB / 0.5782 GB, free: 5.105 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.5165, allocations: 139.5 kB / 0.5784 GB, free: 5.012 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5165, allocations: 0 / 0.5784 GB, free: 5.012 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003401/0.5169, allocations: 27.92 kB / 0.5784 GB, free: 5.008 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,sampleTrigger.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001185/0.517, allocations: 105.4 kB / 0.5785 GB, free: 4.918 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003642/0.5174, allocations: 123 kB / 0.5786 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5174, allocations: 1.281 kB / 0.5786 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.5176, allocations: 62.66 kB / 0.5787 GB, free: 4.867 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006431/0.5182, allocations: 66.09 kB / 0.5787 GB, free: 4.848 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000709/0.519, allocations: 402.6 kB / 0.5791 GB, free: 4.551 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.5192, allocations: 0.7245 MB / 0.5798 GB, free: 3.852 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.642e-05/0.5193, allocations: 16.73 kB / 0.5798 GB, free: 3.844 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.972e-05/0.5194, allocations: 17.03 kB / 0.5798 GB, free: 3.836 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5194, allocations: 0 / 0.5798 GB, free: 3.836 MB / 430.1 MB Notification: Performance of Templates: time 0.00599/0.5254, allocations: 1.807 MB / 0.5816 GB, free: 3.684 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)