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.008771/0.008771, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001242/0.001243, 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.2503/0.2503, allocations: 4.633 MB / 295.2 MB, free: 3.121 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 59.91 kB / 407.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3225, allocations: 50.5 MB / 458.3 MB, free: 19.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.003854/0.3264, allocations: 3.203 MB / 461.5 MB, free: 17.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.3285, allocations: 0.7708 MB / 462.3 MB, free: 16.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000273/0.3288, allocations: 5.688 kB / 462.3 MB, free: 16.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.3291, allocations: 56.3 kB / 462.3 MB, free: 16.92 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.3294, allocations: 127.3 kB / 462.5 MB, free: 16.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005582/0.33, allocations: 132.9 kB / 462.6 MB, free: 16.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006803/0.3307, allocations: 0.5105 MB / 463.1 MB, free: 16.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000497/0.3312, allocations: 276 kB / 463.4 MB, free: 16.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003149/0.3315, allocations: 195.2 kB / 463.6 MB, free: 16.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.3318, allocations: 196.3 kB / 463.7 MB, free: 16.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.993e-05/0.3318, allocations: 57.22 kB / 463.8 MB, free: 16.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.085e-05/0.3319, allocations: 55.03 kB / 463.9 MB, free: 16.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.826e-05/0.332, allocations: 110.8 kB / 464 MB, free: 16.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002154/0.3323, allocations: 225.2 kB / 464.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006152/0.3329, allocations: 0.5457 MB / 464.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3329, allocations: 0 / 464.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3329, allocations: 0 / 464.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.3329, allocations: 0 / 464.7 MB, free: 15.67 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.001378/0.3343, allocations: 0.7398 MB / 465.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.3344, allocations: 9.219 kB / 465.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.341e-05/0.3344, allocations: 63.39 kB / 465.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.981e-05/0.3346, allocations: 46 kB / 465.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.335, allocations: 319.9 kB / 465.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.3351, allocations: 59.47 kB / 466 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.929e-05/0.3352, allocations: 28.16 kB / 466 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000931/0.3361, allocations: 396.3 kB / 466.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3362, allocations: 4 kB / 466.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.3362, allocations: 10.22 kB / 466.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.3362, allocations: 7.25 kB / 466.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008121/0.3371, allocations: 325.8 kB / 466.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.3393, allocations: 1.501 MB / 468.2 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009842/0.3403, allocations: 371.3 kB / 468.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004383/0.3408, allocations: 196.2 kB / 468.8 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.3408, allocations: 12.42 kB / 468.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005451/0.3414, allocations: 245.3 kB / 469 MB, free: 12.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.334e-06/0.3414, allocations: 0 / 469 MB, free: 12.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.00134/0.3428, allocations: 498.2 kB / 469.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.3428, allocations: 81.8 kB / 469.6 MB, free: 12.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.3432, allocations: 289.6 kB / 469.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.3432, allocations: 37.22 kB / 469.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.3434, allocations: 191 kB / 470.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.01e-05/0.3434, allocations: 91.41 kB / 470.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.3436, allocations: 54.94 kB / 470.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.3e-05/0.3436, allocations: 339.8 kB / 470.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.344, allocations: 148.5 kB / 470.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004035/0.3445, allocations: 212.9 kB / 470.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007603/0.3452, allocations: 379.3 kB / 471.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3452, allocations: 0 / 471.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009443/0.3462, allocations: 447.1 kB / 471.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.3462, allocations: 39.28 kB / 471.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.108e-06/0.3462, allocations: 1.375 kB / 471.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.3463, allocations: 7.594 kB / 471.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/0.3473, allocations: 221.5 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.3488, allocations: 1.673 MB / 473.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/0.3491, allocations: 42.7 kB / 473.7 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.27e-05/0.3491, allocations: 13.77 kB / 473.7 MB, free: 9.629 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.0002165/0.3494, allocations: 175.2 kB / 473.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-05/0.3494, allocations: 29.48 kB / 473.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008839/0.3503, allocations: 369 kB / 474.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3503, allocations: 3.672 kB / 474.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.3503, allocations: 1.312 kB / 474.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3504, allocations: 2.703 kB / 474.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.3509, allocations: 452.3 kB / 474.7 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3509, allocations: 1.25 kB / 474.7 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009906/0.3519, allocations: 201.1 kB / 474.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3519, allocations: 1.438 kB / 474.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.964e-05/0.3519, allocations: 12.36 kB / 474.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.3532, allocations: 1.676 MB / 476.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3532, allocations: 9.125 kB / 476.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.3545, allocations: 0.5784 MB / 477.2 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.442e-05/0.3546, allocations: 110.2 kB / 477.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.3547, allocations: 8.234 kB / 477.3 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000232/0.3549, allocations: 25.39 kB / 477.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.355, allocations: 29.89 kB / 477.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.355, allocations: 5.859 kB / 477.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.3553, allocations: 210 kB / 477.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3553, allocations: 0 / 477.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004933/0.3558, allocations: 90.25 kB / 477.7 MB, free: 6.824 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.001509/0.3573, allocations: 1.131 MB / 478.8 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.3589, allocations: 0.5163 MB / 479.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3589, allocations: 0 / 479.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.3599, allocations: 309.2 kB / 479.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.3603, allocations: 50.25 kB / 479.7 MB, free: 5.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005838/0.3662, allocations: 3.548 MB / 483.2 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.3667, allocations: 0.7916 MB / 484 MB, free: 2.871 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.3669, allocations: 38.66 kB / 484 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.3672, allocations: 104.6 kB / 484.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of SimCode: time 1.994e-06/0.3672, allocations: 0 / 484.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0303/0.3975, allocations: 7.027 MB / 491.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/12.91, allocations: 15.75 kB / 491.2 MB, free: 15.64 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)