Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.00107/0.00107, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001187/0.001187, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.248/1.248, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.829/0.829, allocations: 143.1 MB / 434.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 67.89 kB / 0.5148 GB, free: 15.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3167, allocations: 82.03 MB / 0.5949 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002346/0.3191, allocations: 1.821 MB / 0.5967 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006736/0.3198, allocations: 0.5282 MB / 0.5972 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.636e-05/0.3199, allocations: 5.75 kB / 0.5972 GB, free: 13.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.32, allocations: 27.73 kB / 0.5973 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.83e-05/0.3201, allocations: 27.72 kB / 0.5973 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.3202, allocations: 73.28 kB / 0.5974 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.3204, allocations: 167.5 kB / 0.5975 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.3205, allocations: 55.47 kB / 0.5976 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.927e-05/0.3206, allocations: 51.73 kB / 0.5976 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.912e-05/0.3207, allocations: 65.09 kB / 0.5977 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.3207, allocations: 11.94 kB / 0.5977 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.871e-05/0.3207, allocations: 12 kB / 0.5977 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.3207, allocations: 25.39 kB / 0.5977 GB, free: 13.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.3208, allocations: 67.59 kB / 0.5978 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.3209, allocations: 129.4 kB / 0.5979 GB, free: 13.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3209, allocations: 0 / 0.5979 GB, free: 13.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3209, allocations: 1.25 kB / 0.5979 GB, free: 13.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3209, allocations: 0 / 0.5979 GB, free: 13.12 MB / 446.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.0005262/0.3215, allocations: 475.5 kB / 0.5984 GB, free: 12.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.715e-05/0.3215, allocations: 10.19 kB / 0.5984 GB, free: 12.6 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.083e-05/0.3216, allocations: 20.75 kB / 0.5984 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.3217, allocations: 231.8 kB / 0.5986 GB, free: 12.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.3217, allocations: 8.375 kB / 0.5986 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.3218, allocations: 12.38 kB / 0.5986 GB, free: 12.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.322, allocations: 158.2 kB / 0.5988 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.322, allocations: 0 / 0.5988 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.322, allocations: 0 / 0.5988 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.322, allocations: 4.75 kB / 0.5988 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/0.3222, allocations: 77.38 kB / 0.5989 GB, free: 12.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006204/0.3229, allocations: 0.7349 MB / 0.5996 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.323, allocations: 48.61 kB / 0.5996 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.164e-05/0.3231, allocations: 32.78 kB / 0.5997 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.3231, allocations: 5.469 kB / 0.5997 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.3233, allocations: 130.7 kB / 0.5998 GB, free: 11.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.283e-06/0.3233, allocations: 0 / 0.5998 GB, free: 11.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004006/0.3238, allocations: 166.7 kB / 0.6 GB, free: 10.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.3238, allocations: 133.2 kB / 0.6001 GB, free: 10.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.3239, allocations: 200.4 kB / 0.6003 GB, free: 10.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.3239, allocations: 29.7 kB / 0.6003 GB, free: 10.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.828e-05/0.324, allocations: 127.6 kB / 0.6004 GB, free: 10.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.324, allocations: 40.59 kB / 0.6005 GB, free: 10.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.3241, allocations: 41.61 kB / 0.6005 GB, free: 10.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.22e-05/0.3241, allocations: 333 kB / 0.6008 GB, free: 9.895 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001091/0.3242, allocations: 35.98 kB / 0.6009 GB, free: 9.859 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.3244, allocations: 149.1 kB / 0.601 GB, free: 9.668 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.3246, allocations: 207.6 kB / 0.6012 GB, free: 9.422 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3246, allocations: 0 / 0.6012 GB, free: 9.422 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00032/0.325, allocations: 216.8 kB / 0.6014 GB, free: 9.207 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.325, allocations: 5.156 kB / 0.6014 GB, free: 9.203 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.325, allocations: 7.938 kB / 0.6014 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.325, allocations: 8 kB / 0.6014 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.3251, allocations: 29.45 kB / 0.6014 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.3251, allocations: 15.92 kB / 0.6015 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.3253, allocations: 27.83 kB / 0.6015 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.3253, allocations: 9.25 kB / 0.6015 GB, free: 9.109 MB / 446.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 7.295e-05/0.3254, allocations: 139.1 kB / 0.6016 GB, free: 8.965 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.3254, allocations: 21.25 kB / 0.6017 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.3254, allocations: 21.39 kB / 0.6017 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.3254, allocations: 0 / 0.6017 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3255, allocations: 5.406 kB / 0.6017 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3255, allocations: 0 / 0.6017 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005525/0.326, allocations: 0.5079 MB / 0.6022 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.326, allocations: 4 kB / 0.6022 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.3261, allocations: 19.92 kB / 0.6022 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3261, allocations: 1.031 kB / 0.6022 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.3262, allocations: 11.94 kB / 0.6022 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3262, allocations: 0 / 0.6022 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3262, allocations: 5.219 kB / 0.6022 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.3266, allocations: 351.6 kB / 0.6025 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/0.3266, allocations: 100.8 kB / 0.6026 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.395e-05/0.3266, allocations: 0 / 0.6026 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.3268, allocations: 20.64 kB / 0.6027 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.3268, allocations: 19.14 kB / 0.6027 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-06/0.3268, allocations: 8 kB / 0.6027 GB, free: 7.793 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.955e-05/0.3269, allocations: 136.6 kB / 0.6028 GB, free: 7.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3269, allocations: 0 / 0.6028 GB, free: 7.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003063/0.3272, allocations: 28 kB / 0.6028 GB, free: 7.633 MB / 446.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 8.818e-05/0.3273, allocations: 109.8 kB / 0.603 GB, free: 7.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002727/0.3276, allocations: 116.9 kB / 0.6031 GB, free: 7.406 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3276, allocations: 1.281 kB / 0.6031 GB, free: 7.406 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.3277, allocations: 55.89 kB / 0.6031 GB, free: 7.352 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005045/0.3283, allocations: 71.06 kB / 0.6032 GB, free: 7.289 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.3287, allocations: 381.5 kB / 0.6035 GB, free: 6.883 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.3288, allocations: 0.7263 MB / 0.6043 GB, free: 6.133 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.3289, allocations: 15.94 kB / 0.6043 GB, free: 6.117 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3289, allocations: 1.344 kB / 0.6043 GB, free: 6.117 MB / 446.1 MB Notification: Performance of Templates: time 0.002705/0.3316, allocations: 2.141 MB / 0.6064 GB, free: 4.016 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)