Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001721, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002413/0.002413, allocations: 192.6 kB / 16.14 MB, free: 6.711 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.815/2.815, allocations: 472.6 MB / 0.7447 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 64.23 kB / 0.9114 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3093, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate): time 0.003344/0.3127, allocations: 2.039 MB / 1.07 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.3141, allocations: 0.6819 MB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.3143, allocations: 4 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.3145, allocations: 11.86 kB / 1.07 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.3146, allocations: 23.84 kB / 1.07 GB, free: 8.164 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.315, allocations: 75.88 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002248/0.3152, allocations: 143.6 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002007/0.3154, allocations: 76.61 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.3156, allocations: 59.7 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.3158, allocations: 67.62 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.3158, allocations: 8 kB / 1.071 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.316, allocations: 51.95 kB / 1.071 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.3161, allocations: 59.75 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.3162, allocations: 91.34 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.3166, allocations: 251.4 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3166, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3166, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.3166, allocations: 4 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001048/0.3177, allocations: 0.5336 MB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.3177, allocations: 8.031 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/0.3196, allocations: 423.8 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.3201, allocations: 307.8 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.567e-05/0.3202, allocations: 72.17 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.3202, allocations: 12.38 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009482/0.3212, allocations: 379.3 kB / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3212, allocations: 0 / 1.073 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.257e-05/0.3212, allocations: 11.98 kB / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3212, allocations: 0 / 1.073 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.3226, allocations: 0.5431 MB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.3245, allocations: 1.009 MB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007517/0.3252, allocations: 294.3 kB / 1.075 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006517/0.3259, allocations: 272.5 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.3259, allocations: 8.094 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.326, allocations: 34.56 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.694e-06/0.326, allocations: 3.938 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.001991/0.328, allocations: 0.7897 MB / 1.076 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.328, allocations: 51.41 kB / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.3284, allocations: 294.7 kB / 1.076 GB, free: 2.082 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.3284, allocations: 25.7 kB / 1.076 GB, free: 2.051 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.3285, allocations: 156.1 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.3286, allocations: 23.73 kB / 1.076 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-05/0.3287, allocations: 37.67 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.3288, allocations: 330.8 kB / 1.076 GB, free: 1.496 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006297/0.3294, allocations: 267.7 kB / 1.077 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006037/0.33, allocations: 259.7 kB / 1.077 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.3312, allocations: 440.4 kB / 1.077 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3312, allocations: 0 / 1.077 GB, free: 0.5469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001292/0.3325, allocations: 0.5321 MB / 1.078 GB, free: 8 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.3325, allocations: 8 kB / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3325, allocations: 0 / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3325, allocations: 0 / 1.078 GB, free: 0 / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.333, allocations: 95.77 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.333, allocations: 0 / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003309/0.3333, allocations: 67.88 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.3334, allocations: 15.97 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001457/0.3335, allocations: 145.8 kB / 1.078 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.104e-05/0.3336, allocations: 19.72 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.877e-05/0.3336, allocations: 21.7 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3337, allocations: 4 kB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3337, allocations: 0 / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3337, allocations: 0 / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004899/0.3342, allocations: 444.4 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.3342, allocations: 0 / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004019/0.3346, allocations: 91.83 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3346, allocations: 0 / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.3346, allocations: 11.97 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3346, allocations: 0.5469 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3346, allocations: 0 / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.336, allocations: 0.6392 MB / 1.079 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.72e-05/0.3361, allocations: 104.8 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.3362, allocations: 4 kB / 1.08 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.3365, allocations: 67.88 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.3366, allocations: 7.984 kB / 1.08 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.3366, allocations: 11.98 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002102/0.3369, allocations: 225.9 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3369, allocations: 0 / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003322/0.3372, allocations: 39.84 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (not1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0001672/0.3374, allocations: 107.2 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.3387, allocations: 0.5268 MB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3387, allocations: 0 / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006589/0.3394, allocations: 279.7 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.3397, allocations: 19.12 kB / 1.081 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.3411, allocations: 0.6553 MB / 1.081 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.3415, allocations: 0.7516 MB / 1.082 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002252/0.3417, allocations: 53.42 kB / 1.082 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.3418, allocations: 31.39 kB / 1.082 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3418, allocations: 0 / 1.082 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of Templates: time 0.005853/0.3477, allocations: 2.675 MB / 1.085 GB, free: 8.762 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1)