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.001259/0.001259, allocations: 103.5 kB / 15.98 MB, free: 5.891 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.001245/0.001245, allocations: 186.6 kB / 16.91 MB, free: 5.746 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.293/1.293, allocations: 222.9 MB / 240.6 MB, free: 15.41 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.8446/0.8446, allocations: 143.1 MB / 433.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.001241, allocations: 63.84 kB / 0.5143 GB, free: 15.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3085, allocations: 82.03 MB / 0.5944 GB, free: 16.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegratorWithReset): time 0.002392/0.3109, allocations: 1.865 MB / 0.5963 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006803/0.3116, allocations: 0.5281 MB / 0.5968 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.445e-05/0.3117, allocations: 4 kB / 0.5968 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.3118, allocations: 19.8 kB / 0.5968 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.009e-05/0.3119, allocations: 20.88 kB / 0.5968 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001732/0.3121, allocations: 65.38 kB / 0.5969 GB, free: 13.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.3122, allocations: 171.4 kB / 0.597 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.3124, allocations: 55.88 kB / 0.5971 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.3124, allocations: 47.8 kB / 0.5971 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.379e-05/0.3125, allocations: 60.5 kB / 0.5972 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.3125, allocations: 12 kB / 0.5972 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.687e-05/0.3125, allocations: 14.44 kB / 0.5972 GB, free: 13.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.3126, allocations: 35.78 kB / 0.5973 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.586e-05/0.3126, allocations: 63.61 kB / 0.5973 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.481e-05/0.3127, allocations: 93.75 kB / 0.5974 GB, free: 13.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.3127, allocations: 0 / 0.5974 GB, free: 13.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3127, allocations: 0 / 0.5974 GB, free: 13.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.3127, allocations: 4 kB / 0.5974 GB, free: 13.34 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.0005412/0.3133, allocations: 473.3 kB / 0.5979 GB, free: 12.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.3133, allocations: 8.031 kB / 0.5979 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.3134, allocations: 24.73 kB / 0.5979 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.3135, allocations: 229.2 kB / 0.5981 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.3136, allocations: 8.375 kB / 0.5981 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.3136, allocations: 16.31 kB / 0.5981 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.3138, allocations: 159.4 kB / 0.5983 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3139, allocations: 0 / 0.5983 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3139, allocations: 8 kB / 0.5983 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.3139, allocations: 0 / 0.5983 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.3141, allocations: 73.17 kB / 0.5984 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.3148, allocations: 0.7438 MB / 0.5991 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.3149, allocations: 47.86 kB / 0.5991 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.116e-05/0.315, allocations: 34.25 kB / 0.5992 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.315, allocations: 3.984 kB / 0.5992 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002065/0.3152, allocations: 125 kB / 0.5993 GB, free: 11.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.3153, allocations: 0 / 0.5993 GB, free: 11.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004041/0.3157, allocations: 167.9 kB / 0.5995 GB, free: 11.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.3157, allocations: 132.5 kB / 0.5996 GB, free: 10.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.3158, allocations: 200.9 kB / 0.5998 GB, free: 10.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.3159, allocations: 33.7 kB / 0.5998 GB, free: 10.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.3159, allocations: 131.6 kB / 0.5999 GB, free: 10.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.3159, allocations: 37.05 kB / 0.6 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.316, allocations: 41.7 kB / 0.6 GB, free: 10.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.463e-05/0.316, allocations: 332.3 kB / 0.6003 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.3162, allocations: 35.97 kB / 0.6004 GB, free: 10.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.3163, allocations: 148 kB / 0.6005 GB, free: 9.879 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002322/0.3165, allocations: 203.8 kB / 0.6007 GB, free: 9.637 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3165, allocations: 4 kB / 0.6007 GB, free: 9.633 MB / 446.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003197/0.3169, allocations: 205.4 kB / 0.6009 GB, free: 9.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3169, allocations: 5.469 kB / 0.6009 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3169, allocations: 4 kB / 0.6009 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3169, allocations: 11.94 kB / 0.6009 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.317, allocations: 35.91 kB / 0.6009 GB, free: 9.375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.317, allocations: 5.812 kB / 0.601 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.3172, allocations: 31.77 kB / 0.601 GB, free: 9.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.3172, allocations: 8 kB / 0.601 GB, free: 9.332 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.137e-05/0.3173, allocations: 144.3 kB / 0.6011 GB, free: 9.184 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.383e-05/0.3173, allocations: 15.81 kB / 0.6011 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.3173, allocations: 21.39 kB / 0.6012 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3174, allocations: 4 kB / 0.6012 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3174, allocations: 0 / 0.6012 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3174, allocations: 0 / 0.6012 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005664/0.3179, allocations: 0.516 MB / 0.6017 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.318, allocations: 4 kB / 0.6017 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.3181, allocations: 16.55 kB / 0.6017 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3181, allocations: 1.656 kB / 0.6017 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.3181, allocations: 12.27 kB / 0.6017 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.3181, allocations: 0 / 0.6017 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3181, allocations: 7.938 kB / 0.6017 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.3185, allocations: 363.6 kB / 0.6021 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.114e-05/0.3185, allocations: 94.23 kB / 0.6021 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.3186, allocations: 8 kB / 0.6022 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.3187, allocations: 8.031 kB / 0.6022 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.3188, allocations: 20.64 kB / 0.6022 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.3188, allocations: 9.484 kB / 0.6022 GB, free: 8.004 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.253e-05/0.3189, allocations: 135.2 kB / 0.6023 GB, free: 7.871 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3189, allocations: 3.938 kB / 0.6023 GB, free: 7.867 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.3192, allocations: 29.12 kB / 0.6024 GB, free: 7.84 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.667e-05/0.3193, allocations: 108.5 kB / 0.6025 GB, free: 7.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.3196, allocations: 114.5 kB / 0.6026 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3196, allocations: 1.125 kB / 0.6026 GB, free: 7.621 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.3197, allocations: 62.56 kB / 0.6026 GB, free: 7.562 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.3203, allocations: 63.27 kB / 0.6027 GB, free: 7.504 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.3208, allocations: 419 kB / 0.6031 GB, free: 7.059 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.3209, allocations: 0.7223 MB / 0.6038 GB, free: 6.312 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.321, allocations: 19.97 kB / 0.6038 GB, free: 6.293 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.321, allocations: 1.281 kB / 0.6038 GB, free: 6.293 MB / 446.1 MB Notification: Performance of Templates: time 0.003/0.324, allocations: 2.13 MB / 0.6059 GB, free: 4.207 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)