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.0009251/0.0009252, allocations: 174.2 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02054/0.02054, allocations: 4.544 MB / 12.62 MB, free: 284 kB / 7.832 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 221.5 MB / 235.6 MB, free: 2.238 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000909/0.000909, allocations: 86.73 kB / 287.6 MB, free: 5.625 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.247e-05/1.25e-05, allocations: 0 / 345.3 MB, free: 7.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07802/0.07805, allocations: 51.49 MB / 396.8 MB, free: 3.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2348/0.3129, allocations: 78.05 MB / 474.8 MB, free: 13.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001115/0.313, allocations: 49.38 kB / 474.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01162/0.3247, allocations: 5.773 MB / 480.7 MB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3247, allocations: 4 kB / 480.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.3247, allocations: 8 kB / 480.7 MB, free: 10.07 MB / 346.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.0006144/0.3253, allocations: 0.5671 MB / 481.2 MB, free: 9.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.3254, allocations: 8.031 kB / 481.2 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.432e-05/0.3254, allocations: 35.23 kB / 481.3 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.3256, allocations: 266.1 kB / 481.5 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.3257, allocations: 8 kB / 481.5 MB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.3257, allocations: 12 kB / 481.6 MB, free: 9.152 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002882/0.326, allocations: 213.5 kB / 481.8 MB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.3263, allocations: 266.6 kB / 482 MB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3263, allocations: 1.375 kB / 482 MB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.3264, allocations: 0 / 482 MB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3264, allocations: 8 kB / 482 MB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.3274, allocations: 0.9955 MB / 483 MB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.3278, allocations: 244.7 kB / 483.3 MB, free: 7.824 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.3279, allocations: 127.5 kB / 483.4 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.3279, allocations: 4.172 kB / 483.4 MB, free: 7.742 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.3281, allocations: 160.6 kB / 483.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.3281, allocations: 0 / 483.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003187/0.3285, allocations: 233.4 kB / 483.8 MB, free: 7.445 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.503e-05/0.3285, allocations: 55.41 kB / 483.8 MB, free: 7.379 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.3286, allocations: 178.1 kB / 484 MB, free: 7.227 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.3286, allocations: 25.7 kB / 484 MB, free: 7.195 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.625e-05/0.3287, allocations: 172.5 kB / 484.2 MB, free: 7.051 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.3287, allocations: 76.81 kB / 484.3 MB, free: 6.984 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.439e-05/0.3288, allocations: 0 / 484.3 MB, free: 6.984 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.315e-05/0.3288, allocations: 330.4 kB / 484.6 MB, free: 6.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.3289, allocations: 87.36 kB / 484.7 MB, free: 6.613 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.329, allocations: 125.4 kB / 484.8 MB, free: 6.523 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.3292, allocations: 98.83 kB / 484.9 MB, free: 6.465 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3292, allocations: 8 kB / 484.9 MB, free: 6.457 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000327/0.3295, allocations: 283.3 kB / 485.2 MB, free: 6.258 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3295, allocations: 37.69 kB / 485.2 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3296, allocations: 2.812 kB / 485.2 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3296, allocations: 4 kB / 485.2 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/0.3299, allocations: 71.39 kB / 485.3 MB, free: 6.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.3299, allocations: 4.094 kB / 485.3 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.3301, allocations: 39.81 kB / 485.3 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.3301, allocations: 8 kB / 485.3 MB, free: 6.094 MB / 346.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 6.472e-05/0.3302, allocations: 117.5 kB / 485.5 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.3302, allocations: 27.67 kB / 485.5 MB, free: 5.949 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003248/0.3305, allocations: 254.6 kB / 485.7 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3306, allocations: 0 / 485.7 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3306, allocations: 2.938 kB / 485.7 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3306, allocations: 3.984 kB / 485.7 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.3308, allocations: 339.2 kB / 486.1 MB, free: 5.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3308, allocations: 3.938 kB / 486.1 MB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.3311, allocations: 63.95 kB / 486.1 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3311, allocations: 0 / 486.1 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.3311, allocations: 7.953 kB / 486.2 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3311, allocations: 0 / 486.2 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3311, allocations: 0 / 486.2 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.3316, allocations: 402.5 kB / 486.5 MB, free: 5.121 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.3316, allocations: 100.1 kB / 486.6 MB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.3316, allocations: 0 / 486.6 MB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.3318, allocations: 35.98 kB / 486.7 MB, free: 4.973 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.384e-05/0.3319, allocations: 22.72 kB / 486.7 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.3319, allocations: 4 kB / 486.7 MB, free: 4.953 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.324e-05/0.332, allocations: 153 kB / 486.9 MB, free: 4.832 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.332, allocations: 0 / 486.9 MB, free: 4.832 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000238/0.3322, allocations: 75.69 kB / 486.9 MB, free: 4.758 MB / 346.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 7.403e-05/0.3323, allocations: 104.5 kB / 487 MB, free: 4.648 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002808/0.3326, allocations: 275.7 kB / 487.3 MB, free: 4.445 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3326, allocations: 0 / 487.3 MB, free: 4.445 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.3328, allocations: 120.7 kB / 487.4 MB, free: 4.367 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.333, allocations: 25.05 kB / 487.4 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006774/0.3337, allocations: 487.5 kB / 487.9 MB, free: 3.922 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.3338, allocations: 0.7787 MB / 488.7 MB, free: 3.121 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.3339, allocations: 33.83 kB / 488.7 MB, free: 3.09 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/0.334, allocations: 19.44 kB / 488.7 MB, free: 3.078 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.334, allocations: 0 / 488.7 MB, free: 3.078 MB / 346.7 MB Notification: Performance of Templates: time 0.003668/0.3377, allocations: 2.198 MB / 490.9 MB, free: 0.9492 MB / 346.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)