Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.conf.json 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/FastBuildings master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/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) Running command: translateModel(FastBuildings.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") translateModel(FastBuildings.Examples.SingleZone_ArtificialInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.0243/0.0243, allocations: 4.534 MB / 17.79 MB, free: 2.898 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.227/1.227, allocations: 221.3 MB / 240.8 MB, free: 8.77 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008174/0.0008174, allocations: 103.3 kB / 292.8 MB, free: 7.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.901e-05, allocations: 0 / 352.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2006, allocations: 51.48 MB / 403.7 MB, free: 28.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08243/0.2831, allocations: 78.72 MB / 482.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001262/0.2833, allocations: 50.27 kB / 482.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01378/0.297, allocations: 5.82 MB / 488.3 MB, free: 7.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2971, allocations: 0 / 488.3 MB, free: 7.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.2971, allocations: 8 kB / 488.3 MB, free: 7.832 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007645/0.2978, allocations: 0.5678 MB / 488.8 MB, free: 7.215 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.2979, allocations: 8.031 kB / 488.8 MB, free: 7.207 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.582e-05/0.298, allocations: 35.62 kB / 488.9 MB, free: 7.172 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.2983, allocations: 283.3 kB / 489.1 MB, free: 6.852 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.2983, allocations: 16.56 kB / 489.2 MB, free: 6.832 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.2983, allocations: 24 kB / 489.2 MB, free: 6.809 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004625/0.2988, allocations: 295.7 kB / 489.5 MB, free: 6.508 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.2988, allocations: 0 / 489.5 MB, free: 6.508 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.2989, allocations: 12 kB / 489.5 MB, free: 6.496 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2989, allocations: 8 kB / 489.5 MB, free: 6.488 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003471/0.2992, allocations: 218.1 kB / 489.7 MB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.3006, allocations: 1.057 MB / 490.8 MB, free: 5.148 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/0.3011, allocations: 251.3 kB / 491 MB, free: 4.895 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.3013, allocations: 133.1 kB / 491.1 MB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.3013, allocations: 192 / 491.1 MB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.3015, allocations: 172.9 kB / 491.3 MB, free: 4.582 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.332e-06/0.3015, allocations: 0 / 491.3 MB, free: 4.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004076/0.302, allocations: 243.9 kB / 491.5 MB, free: 4.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.302, allocations: 59.34 kB / 491.6 MB, free: 4.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.3022, allocations: 200.9 kB / 491.8 MB, free: 4.066 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.3022, allocations: 33.7 kB / 491.8 MB, free: 4.027 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.664e-05/0.3023, allocations: 172.1 kB / 492 MB, free: 3.855 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.888e-05/0.3024, allocations: 71 kB / 492.1 MB, free: 3.785 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.488e-05/0.3024, allocations: 8 kB / 492.1 MB, free: 3.777 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3025, allocations: 326.8 kB / 492.4 MB, free: 3.449 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.3027, allocations: 99.97 kB / 492.5 MB, free: 3.352 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.3029, allocations: 139.3 kB / 492.6 MB, free: 3.203 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/0.3031, allocations: 135.7 kB / 492.8 MB, free: 3.062 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3031, allocations: 4 kB / 492.8 MB, free: 3.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004466/0.3035, allocations: 329.9 kB / 493.1 MB, free: 2.727 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.3036, allocations: 37.69 kB / 493.1 MB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3036, allocations: 0 / 493.1 MB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3036, allocations: 4 kB / 493.1 MB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003002/0.3039, allocations: 71.89 kB / 493.2 MB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3039, allocations: 4.094 kB / 493.2 MB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.3041, allocations: 51.72 kB / 493.3 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.3042, allocations: 4 kB / 493.3 MB, free: 2.551 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.simFasBui.powElePul.T_start,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.531e-05/0.3043, allocations: 130.7 kB / 493.4 MB, free: 2.418 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.3043, allocations: 19.81 kB / 493.4 MB, free: 2.398 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004395/0.3048, allocations: 278.2 kB / 493.7 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3048, allocations: 0 / 493.7 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3048, allocations: 0 / 493.7 MB, free: 2.121 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3048, allocations: 7.984 kB / 493.7 MB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.3051, allocations: 385.2 kB / 494.1 MB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3051, allocations: 3.953 kB / 494.1 MB, free: 1.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003029/0.3054, allocations: 55.97 kB / 494.1 MB, free: 1.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3055, allocations: 7.984 kB / 494.1 MB, free: 1.621 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.3055, allocations: 8 kB / 494.1 MB, free: 1.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.3055, allocations: 0 / 494.1 MB, free: 1.613 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3055, allocations: 0 / 494.1 MB, free: 1.613 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.3061, allocations: 416.6 kB / 494.5 MB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/0.3061, allocations: 108.7 kB / 494.6 MB, free: 1.062 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.535e-05/0.3062, allocations: 12 kB / 494.7 MB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.3064, allocations: 28.03 kB / 494.7 MB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.3065, allocations: 23.97 kB / 494.7 MB, free: 1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.3065, allocations: 8 kB / 494.7 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001301/0.3066, allocations: 169.4 kB / 494.9 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3066, allocations: 0 / 494.9 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002411/0.3069, allocations: 71.84 kB / 495 MB, free: 0.7578 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (bui.zon.capZon.heaPor.T,bui.zon.capInt.heaPor.T) * Number of discrete variables: 3 ($whenCondition1,simFasBui.powElePul.T_start,simFasBui.powElePul.count) * Number of discrete states: 1 (simFasBui.powElePul.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001076/0.307, allocations: 119 kB / 495.1 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003817/0.3074, allocations: 298 kB / 495.4 MB, free: 340 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3074, allocations: 0 / 495.4 MB, free: 340 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.3076, allocations: 115.9 kB / 495.5 MB, free: 224 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.3078, allocations: 28.42 kB / 495.5 MB, free: 196 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008402/0.3086, allocations: 495.3 kB / 496 MB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3089, allocations: 0.7908 MB / 496.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001286/0.3091, allocations: 33.53 kB / 496.8 MB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.447e-05/0.3091, allocations: 19.44 kB / 496.8 MB, free: 14.81 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3092, allocations: 0 / 496.8 MB, free: 14.81 MB / 378.7 MB Notification: Performance of Templates: time 0.004701/0.3139, allocations: 2.422 MB / 499.3 MB, free: 12.41 MB / 378.7 MB make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.makefile (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & ./FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1)