Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_ArtificialInput.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/FastBuildings master/package.mo", uses=false) Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings 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(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") translateModel(FastBuildings.Input.SIM_ArtificialInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Input.SIM_ArtificialInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 103.8 kB / 16.4 MB, free: 6.465 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.001429/0.001429, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.03245/0.03245, allocations: 4.647 MB / 295.9 MB, free: 10.25 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.91 kB / 408.9 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09017/0.09134, allocations: 50.5 MB / 459.4 MB, free: 8.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.003037/0.09443, allocations: 1.681 MB / 461.1 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008912/0.09535, allocations: 474.8 kB / 461.5 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.09547, allocations: 7.938 kB / 461.6 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.09559, allocations: 11.86 kB / 461.6 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.279e-05/0.09568, allocations: 19.81 kB / 461.6 MB, free: 6.395 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.09596, allocations: 43.88 kB / 461.6 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002048/0.09617, allocations: 119.6 kB / 461.7 MB, free: 6.234 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.09634, allocations: 45.42 kB / 461.8 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.09651, allocations: 63.7 kB / 461.9 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.09663, allocations: 55.75 kB / 461.9 MB, free: 6.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.09667, allocations: 8 kB / 461.9 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.217e-05/0.09669, allocations: 8 kB / 461.9 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.09675, allocations: 19.92 kB / 461.9 MB, free: 6.035 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.011e-05/0.09682, allocations: 47.73 kB / 462 MB, free: 5.988 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.09702, allocations: 107.5 kB / 462.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.09704, allocations: 0 / 462.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.09704, allocations: 0 / 462.1 MB, free: 5.883 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.09706, allocations: 4 kB / 462.1 MB, free: 5.879 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008681/0.09793, allocations: 460.7 kB / 462.5 MB, free: 5.375 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.09798, allocations: 12.03 kB / 462.6 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.09804, allocations: 12.75 kB / 462.6 MB, free: 5.352 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.09824, allocations: 200.7 kB / 462.8 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.09827, allocations: 12.36 kB / 462.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.0983, allocations: 8.125 kB / 462.8 MB, free: 5.098 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.0987, allocations: 165.7 kB / 463 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.09872, allocations: 3.938 kB / 463 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.09875, allocations: 12 kB / 463 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.09875, allocations: 0 / 463 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004069/0.09917, allocations: 127.8 kB / 463.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008596/0.1, allocations: 0.7082 MB / 463.8 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.1004, allocations: 172.9 kB / 464 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.1007, allocations: 88.33 kB / 464.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.227e-05/0.1007, allocations: 0 / 464.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003384/0.1011, allocations: 155.5 kB / 464.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.1011, allocations: 0 / 464.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.000751/0.1018, allocations: 245.5 kB / 464.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.78e-05/0.1019, allocations: 162.3 kB / 464.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.102, allocations: 166.2 kB / 464.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.1021, allocations: 25.7 kB / 464.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.1022, allocations: 108 kB / 464.9 MB, free: 2.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.1022, allocations: 27.64 kB / 464.9 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.1022, allocations: 25.72 kB / 465 MB, free: 2.691 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1024, allocations: 322.8 kB / 465.3 MB, free: 2.367 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.1026, allocations: 63.94 kB / 465.3 MB, free: 2.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.1028, allocations: 92.22 kB / 465.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004128/0.1032, allocations: 177.8 kB / 465.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1032, allocations: 3.938 kB / 465.6 MB, free: 2 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005305/0.1038, allocations: 219 kB / 465.8 MB, free: 1.773 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.641e-05/0.1038, allocations: 37.69 kB / 465.8 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1038, allocations: 4 kB / 465.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1039, allocations: 3.938 kB / 465.9 MB, free: 1.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.104, allocations: 31.91 kB / 465.9 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1041, allocations: 4.125 kB / 465.9 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.1042, allocations: 19.89 kB / 465.9 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.1043, allocations: 7.984 kB / 465.9 MB, free: 1.66 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001031/0.1044, allocations: 129.8 kB / 466 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.1044, allocations: 7.906 kB / 466.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.1046, allocations: 97.77 kB / 466.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.1046, allocations: 7.938 kB / 466.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.1046, allocations: 4.031 kB / 466.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.1046, allocations: 7.922 kB / 466.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.1049, allocations: 318.6 kB / 466.5 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1049, allocations: 3.938 kB / 466.5 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/0.1051, allocations: 23.92 kB / 466.5 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.1051, allocations: 4 kB / 466.5 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.1051, allocations: 3.984 kB / 466.5 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1051, allocations: 8.031 kB / 466.5 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1051, allocations: 0 / 466.5 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005088/0.1056, allocations: 286.6 kB / 466.8 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.1057, allocations: 92.94 kB / 466.9 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.1057, allocations: 4 kB / 466.9 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.1059, allocations: 24.05 kB / 466.9 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.106, allocations: 19.91 kB / 466.9 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.106, allocations: 4 kB / 466.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.039e-05/0.1061, allocations: 128.1 kB / 467.1 MB, free: 388 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1061, allocations: 0 / 467.1 MB, free: 388 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002694/0.1064, allocations: 23.98 kB / 467.1 MB, free: 364 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001016/0.1065, allocations: 103.9 kB / 467.2 MB, free: 252 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005381/0.107, allocations: 199.3 kB / 467.4 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1071, allocations: 0 / 467.4 MB, free: 40 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.1073, allocations: 75.88 kB / 467.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.1077, allocations: 19.92 kB / 467.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006026/0.1083, allocations: 304.7 kB / 467.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.1086, allocations: 0.7117 MB / 468.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.1086, allocations: 23.42 kB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1086, allocations: 0 / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of Templates: time 0.003153/0.1118, allocations: 1.56 MB / 470.1 MB, free: 13.29 MB / 350.1 MB make -j1 -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.makefile (rm -f FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_ArtificialInput.sim & ./FastBuildings_FastBuildings.Input.SIM_ArtificialInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Input.SIM_ArtificialInput.pipe 2>&1)