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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 112.5 kB / 15.74 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 198 kB / 16.67 MB, free: 6.582 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.459/1.459, allocations: 222.9 MB / 240.3 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1276/0.1276, allocations: 4.63 MB / 295.1 MB, free: 3.062 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 59.91 kB / 408.3 MB, free: 14.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3337, allocations: 50.5 MB / 458.8 MB, free: 20.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.003574/0.3373, allocations: 2.867 MB / 461.6 MB, free: 18.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3385, allocations: 0.6872 MB / 462.3 MB, free: 17.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.3386, allocations: 6.156 kB / 462.3 MB, free: 17.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.3388, allocations: 46.75 kB / 462.4 MB, free: 17.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.339, allocations: 86.05 kB / 462.5 MB, free: 17.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.3393, allocations: 115.5 kB / 462.6 MB, free: 17.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.3396, allocations: 401.8 kB / 463 MB, free: 17.2 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003297/0.34, allocations: 242.5 kB / 463.2 MB, free: 17.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001743/0.3401, allocations: 151.4 kB / 463.4 MB, free: 17.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001637/0.3403, allocations: 159.7 kB / 463.5 MB, free: 16.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.968e-05/0.3404, allocations: 42.66 kB / 463.6 MB, free: 16.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.757e-05/0.3404, allocations: 41.44 kB / 463.6 MB, free: 16.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.459e-05/0.3405, allocations: 81.22 kB / 463.7 MB, free: 16.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001363/0.3406, allocations: 175.2 kB / 463.8 MB, free: 16.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004008/0.341, allocations: 436.6 kB / 464.3 MB, free: 16.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.341, allocations: 0 / 464.3 MB, free: 16.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3411, allocations: 0 / 464.3 MB, free: 16.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.3411, allocations: 0 / 464.3 MB, free: 16.57 MB / 350.1 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.001013/0.3421, allocations: 0.6483 MB / 464.9 MB, free: 16.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.3421, allocations: 9.094 kB / 464.9 MB, free: 16.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.521e-05/0.3422, allocations: 36.42 kB / 465 MB, free: 16.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.3424, allocations: 276.3 kB / 465.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.3425, allocations: 18.59 kB / 465.3 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.446e-05/0.3425, allocations: 29.33 kB / 465.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005936/0.3431, allocations: 342.8 kB / 465.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3431, allocations: 0 / 465.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.3432, allocations: 11.16 kB / 465.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.3432, allocations: 13.66 kB / 465.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006176/0.3438, allocations: 273.7 kB / 465.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.3451, allocations: 1.036 MB / 466.9 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007166/0.3458, allocations: 299.2 kB / 467.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.3462, allocations: 165.3 kB / 467.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.3462, allocations: 3.594 kB / 467.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000384/0.3466, allocations: 189.8 kB / 467.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.394e-06/0.3466, allocations: 0 / 467.6 MB, free: 14.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009596/0.3476, allocations: 429.4 kB / 468 MB, free: 14.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.3476, allocations: 55.5 kB / 468.1 MB, free: 14.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.3478, allocations: 233.4 kB / 468.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.3479, allocations: 31.83 kB / 468.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.033e-05/0.3479, allocations: 165.5 kB / 468.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.499e-05/0.348, allocations: 83.33 kB / 468.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-05/0.3481, allocations: 53.09 kB / 468.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.185e-05/0.3482, allocations: 331.5 kB / 468.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.3485, allocations: 127.2 kB / 469.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.3488, allocations: 163.1 kB / 469.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005554/0.3493, allocations: 310.7 kB / 469.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3493, allocations: 1.156 kB / 469.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007233/0.3501, allocations: 393.2 kB / 469.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/0.3501, allocations: 40.12 kB / 469.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3501, allocations: 1.375 kB / 469.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.3501, allocations: 1.891 kB / 469.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.3505, allocations: 64.48 kB / 470 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3505, allocations: 10.83 kB / 470 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002074/0.3507, allocations: 35.97 kB / 470.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.3507, allocations: 15.47 kB / 470.1 MB, free: 12.98 MB / 350.1 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 (simFasBui.powElePul.count,$PRE.simFasBui.powElePul.count,simFasBui.powElePul.T_start,$PRE.simFasBui.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001263/0.3509, allocations: 162.7 kB / 470.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.3509, allocations: 27.5 kB / 470.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006943/0.3516, allocations: 330.3 kB / 470.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3516, allocations: 3.359 kB / 470.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3516, allocations: 0 / 470.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3516, allocations: 1.312 kB / 470.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003202/0.352, allocations: 385.4 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.352, allocations: 0 / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.3523, allocations: 58.2 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3523, allocations: 5 kB / 471 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.3523, allocations: 10.66 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3523, allocations: 5.312 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3523, allocations: 1.438 kB / 471 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009539/0.3533, allocations: 0.4897 MB / 471.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.026e-05/0.3534, allocations: 103.7 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.3534, allocations: 7.766 kB / 471.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.3536, allocations: 20.91 kB / 471.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.719e-05/0.3537, allocations: 20.66 kB / 471.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.976e-05/0.3537, allocations: 5.25 kB / 471.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.3538, allocations: 175.1 kB / 471.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3538, allocations: 0 / 471.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.3541, allocations: 70.14 kB / 471.9 MB, free: 11.9 MB / 350.1 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.651e-05/0.3542, allocations: 105.2 kB / 472 MB, free: 11.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006888/0.3549, allocations: 352.8 kB / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3549, allocations: 0 / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003218/0.3553, allocations: 152.1 kB / 472.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.3556, allocations: 35.89 kB / 472.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.3567, allocations: 0.6412 MB / 473.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.3569, allocations: 0.7747 MB / 474 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000144/0.357, allocations: 29.98 kB / 474 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.414e-05/0.3571, allocations: 23.56 kB / 474 MB, free: 10.45 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3571, allocations: 3.938 kB / 474 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Templates: time 0.006567/0.3637, allocations: 2.787 MB / 476.8 MB, free: 10.23 MB / 350.1 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)