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.005553/0.005553, allocations: 100.1 kB / 15.73 MB, free: 6.055 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.001267/0.001267, allocations: 190 kB / 16.67 MB, free: 5.969 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.236/1.236, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.0378/0.0378, allocations: 4.646 MB / 295.2 MB, free: 10.26 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 59.91 kB / 408.2 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07934/0.08045, allocations: 50.51 MB / 458.7 MB, free: 8.602 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_ArtificialInput): time 0.002531/0.08301, allocations: 1.677 MB / 460.4 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006739/0.08371, allocations: 474.8 kB / 460.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.679e-05/0.08378, allocations: 4 kB / 460.9 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.511e-05/0.08387, allocations: 15.86 kB / 460.9 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.246e-05/0.08395, allocations: 19.73 kB / 460.9 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.08414, allocations: 39.89 kB / 460.9 MB, free: 6.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.08431, allocations: 123.6 kB / 461.1 MB, free: 6.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.08446, allocations: 41.42 kB / 461.1 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.08458, allocations: 55.78 kB / 461.2 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.94e-05/0.08467, allocations: 63.73 kB / 461.2 MB, free: 6.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/0.08471, allocations: 8 kB / 461.2 MB, free: 6.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.092e-05/0.08473, allocations: 8 kB / 461.2 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.437e-05/0.08478, allocations: 19.92 kB / 461.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.486e-05/0.08487, allocations: 55.61 kB / 461.3 MB, free: 6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.08502, allocations: 103.5 kB / 461.4 MB, free: 5.898 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.08504, allocations: 0 / 461.4 MB, free: 5.898 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.08504, allocations: 0 / 461.4 MB, free: 5.898 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.08506, allocations: 0 / 461.4 MB, free: 5.898 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.0007148/0.08578, allocations: 468.5 kB / 461.9 MB, free: 5.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.08581, allocations: 8.031 kB / 461.9 MB, free: 5.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.08586, allocations: 16.84 kB / 461.9 MB, free: 5.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.08604, allocations: 211 kB / 462.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.08606, allocations: 4.375 kB / 462.1 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.08609, allocations: 16.06 kB / 462.1 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.08644, allocations: 157.9 kB / 462.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.08646, allocations: 3.938 kB / 462.3 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.08648, allocations: 7.938 kB / 462.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.08649, allocations: 4 kB / 462.3 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003614/0.08685, allocations: 131.8 kB / 462.4 MB, free: 4.781 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007277/0.08759, allocations: 0.7043 MB / 463.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.08795, allocations: 165 kB / 463.3 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.08816, allocations: 92.27 kB / 463.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.0882, allocations: 3.984 kB / 463.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002884/0.08849, allocations: 155.5 kB / 463.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.0885, allocations: 0 / 463.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006766/0.08918, allocations: 237.3 kB / 463.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.08926, allocations: 162.2 kB / 463.9 MB, free: 3.082 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.08939, allocations: 162.2 kB / 464.1 MB, free: 2.914 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.08942, allocations: 34.05 kB / 464.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.08949, allocations: 112 kB / 464.2 MB, free: 2.762 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.08952, allocations: 27.8 kB / 464.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.08958, allocations: 29.7 kB / 464.3 MB, free: 2.699 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.08968, allocations: 322.8 kB / 464.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.08989, allocations: 55.95 kB / 464.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.0901, allocations: 100.2 kB / 464.7 MB, free: 2.207 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.09049, allocations: 173.8 kB / 464.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.0905, allocations: 0 / 464.9 MB, free: 2.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004846/0.09099, allocations: 227 kB / 465.1 MB, free: 1.781 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.09103, allocations: 33.83 kB / 465.2 MB, free: 1.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.09104, allocations: 4 kB / 465.2 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.09106, allocations: 7.938 kB / 465.2 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.09122, allocations: 23.97 kB / 465.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.09124, allocations: 4 kB / 465.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.0914, allocations: 19.92 kB / 465.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.09142, allocations: 11.98 kB / 465.2 MB, free: 1.672 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 9.485e-05/0.09152, allocations: 129.7 kB / 465.4 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.09156, allocations: 19.89 kB / 465.4 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.09174, allocations: 89.84 kB / 465.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.09175, allocations: 0 / 465.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.09176, allocations: 4 kB / 465.5 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.09178, allocations: 7.922 kB / 465.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.09202, allocations: 322.5 kB / 465.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/0.09203, allocations: 12 kB / 465.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.09216, allocations: 23.97 kB / 465.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.09217, allocations: 0 / 465.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.09219, allocations: 4 kB / 465.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.09219, allocations: 0 / 465.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.0922, allocations: 7.938 kB / 465.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000466/0.09267, allocations: 286.9 kB / 466.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.09275, allocations: 96.92 kB / 466.2 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.09278, allocations: 12.05 kB / 466.2 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.09295, allocations: 23.97 kB / 466.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.09302, allocations: 15.98 kB / 466.3 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.09304, allocations: 4 kB / 466.3 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.595e-05/0.09313, allocations: 124.1 kB / 466.4 MB, free: 392 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09313, allocations: 0 / 466.4 MB, free: 392 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.09339, allocations: 24 kB / 466.4 MB, free: 368 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 8.203e-05/0.09348, allocations: 95.98 kB / 466.5 MB, free: 264 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004946/0.09398, allocations: 207.2 kB / 466.7 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.09399, allocations: 0 / 466.7 MB, free: 44 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002677/0.09427, allocations: 88.3 kB / 466.8 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.0003541/0.09463, allocations: 22.5 kB / 466.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005246/0.09516, allocations: 282.3 kB / 467.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.09545, allocations: 0.7234 MB / 467.8 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.68e-05/0.09553, allocations: 12.42 kB / 467.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.0956, allocations: 15.44 kB / 467.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.0956, allocations: 0 / 467.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of Templates: time 0.003671/0.09928, allocations: 1.379 MB / 469.2 MB, free: 13.48 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)