Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Controlled.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: "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00874/0.00874, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.002031/0.002031, allocations: 188.6 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.1245/0.1245, allocations: 4.634 MB / 295.2 MB, free: 3.082 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 63.89 kB / 407.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.244, allocations: 50.49 MB / 458.3 MB, free: 19.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.003402/0.2475, allocations: 3.199 MB / 461.5 MB, free: 17.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.2488, allocations: 0.7766 MB / 462.3 MB, free: 17.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.249, allocations: 6.156 kB / 462.3 MB, free: 17.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.2492, allocations: 56.83 kB / 462.3 MB, free: 17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.2494, allocations: 124.9 kB / 462.5 MB, free: 16.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004167/0.2498, allocations: 133.2 kB / 462.6 MB, free: 16.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005308/0.2504, allocations: 0.5054 MB / 463.1 MB, free: 16.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003694/0.2508, allocations: 280.3 kB / 463.4 MB, free: 16.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.251, allocations: 191.1 kB / 463.5 MB, free: 16.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.2512, allocations: 197.6 kB / 463.7 MB, free: 16.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.889e-05/0.2512, allocations: 57.98 kB / 463.8 MB, free: 16.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.04e-05/0.2513, allocations: 56.41 kB / 463.9 MB, free: 16.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.666e-05/0.2514, allocations: 103.6 kB / 464 MB, free: 16.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.2516, allocations: 234.5 kB / 464.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004998/0.2521, allocations: 0.5393 MB / 464.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2521, allocations: 1.219 kB / 464.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2521, allocations: 0 / 464.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.2521, allocations: 0 / 464.7 MB, free: 15.75 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001357/0.2535, allocations: 0.7392 MB / 465.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.2535, allocations: 8.938 kB / 465.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.19e-05/0.2536, allocations: 67.61 kB / 465.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.702e-05/0.2537, allocations: 41.66 kB / 465.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.254, allocations: 312.8 kB / 465.9 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.2541, allocations: 64.48 kB / 465.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/0.2542, allocations: 27.89 kB / 466 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008436/0.2551, allocations: 398.2 kB / 466.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.2551, allocations: 5.625 kB / 466.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/0.2551, allocations: 14.41 kB / 466.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.2551, allocations: 7.562 kB / 466.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000868/0.256, allocations: 325.4 kB / 466.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.2582, allocations: 1.5 MB / 468.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.2592, allocations: 376.1 kB / 468.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004296/0.2597, allocations: 200.3 kB / 468.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.2597, allocations: 2.438 kB / 468.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005213/0.2602, allocations: 250.3 kB / 469 MB, free: 13.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.093e-06/0.2602, allocations: 0 / 469 MB, free: 13.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001323/0.2616, allocations: 499.4 kB / 469.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.846e-05/0.2616, allocations: 80.56 kB / 469.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.2619, allocations: 290.3 kB / 469.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.262, allocations: 31.78 kB / 469.9 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.2621, allocations: 192.3 kB / 470.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.335e-05/0.2622, allocations: 93.73 kB / 470.2 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.2623, allocations: 59.72 kB / 470.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.151e-05/0.2624, allocations: 343 kB / 470.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000402/0.2628, allocations: 146.9 kB / 470.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004265/0.2632, allocations: 207.5 kB / 470.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007655/0.264, allocations: 378.9 kB / 471.3 MB, free: 11.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.264, allocations: 3.938 kB / 471.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009545/0.2649, allocations: 448.8 kB / 471.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.265, allocations: 39.14 kB / 471.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.265, allocations: 2.391 kB / 471.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.265, allocations: 2.969 kB / 471.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.2661, allocations: 216.1 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.2676, allocations: 1.678 MB / 473.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.2679, allocations: 38.66 kB / 473.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.118e-05/0.2679, allocations: 17.25 kB / 473.7 MB, free: 9.707 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001863/0.2681, allocations: 174.7 kB / 473.9 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.2682, allocations: 30.19 kB / 473.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008973/0.2691, allocations: 361.8 kB / 474.3 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2691, allocations: 7.75 kB / 474.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.2691, allocations: 0 / 474.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.2691, allocations: 6.75 kB / 474.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004436/0.2696, allocations: 456.7 kB / 474.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2696, allocations: 1.859 kB / 474.7 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/0.2707, allocations: 204.9 kB / 474.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2707, allocations: 1.219 kB / 474.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.2707, allocations: 7.75 kB / 474.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/0.272, allocations: 1.676 MB / 476.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.272, allocations: 1.094 kB / 476.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.2734, allocations: 0.5776 MB / 477.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.2734, allocations: 115.9 kB / 477.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.719e-05/0.2735, allocations: 7.312 kB / 477.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/0.2737, allocations: 25.77 kB / 477.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.918e-05/0.2738, allocations: 28.83 kB / 477.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.2739, allocations: 11.56 kB / 477.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001963/0.2741, allocations: 205.9 kB / 477.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.2741, allocations: 0 / 477.6 MB, free: 6.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000461/0.2745, allocations: 89.34 kB / 477.7 MB, free: 6.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bui.zon.capZon.heaPor.T,bui.zon.capWal.heaPor.T,bui.zon.capEmb.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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001539/0.2761, allocations: 1.132 MB / 478.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.2777, allocations: 0.5125 MB / 479.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2777, allocations: 4.062 kB / 479.3 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.2789, allocations: 309.3 kB / 479.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.2793, allocations: 48.72 kB / 479.7 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005478/0.2847, allocations: 3.549 MB / 483.2 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.285, allocations: 0.7907 MB / 484 MB, free: 2.949 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.2852, allocations: 35.42 kB / 484 MB, free: 2.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.2854, allocations: 109.5 kB / 484.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of SimCode: time 1.112e-06/0.2854, allocations: 3.938 kB / 484.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.3144, allocations: 6.803 MB / 491 MB, free: 15.83 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.01, allocations: 20.55 kB / 491 MB, free: 15.82 MB / 366.1 MB (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Controlled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Controlled_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Controlled.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1)