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.007564/0.007564, allocations: 100.9 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.0018/0.0018, allocations: 192.4 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.454/1.454, 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.02525/0.02525, allocations: 4.649 MB / 295.2 MB, free: 10.24 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 67.83 kB / 407.8 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09111/0.09299, allocations: 50.5 MB / 458.3 MB, free: 9.031 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.004705/0.09774, allocations: 3.192 MB / 461.5 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001423/0.09919, allocations: 0.7795 MB / 462.3 MB, free: 5.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.09939, allocations: 8 kB / 462.3 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.09958, allocations: 55.38 kB / 462.3 MB, free: 4.973 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.09982, allocations: 122.9 kB / 462.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.1002, allocations: 143.8 kB / 462.6 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005906/0.1008, allocations: 0.5025 MB / 463.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004563/0.1013, allocations: 274.5 kB / 463.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000269/0.1016, allocations: 191.4 kB / 463.6 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.1018, allocations: 199.2 kB / 463.8 MB, free: 3.551 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.034e-05/0.1019, allocations: 56 kB / 463.8 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.429e-05/0.102, allocations: 56 kB / 463.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.1021, allocations: 107.6 kB / 464 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002485/0.1024, allocations: 227.1 kB / 464.2 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006178/0.103, allocations: 0.5491 MB / 464.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.103, allocations: 0 / 464.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.103, allocations: 0 / 464.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.1031, allocations: 0 / 464.7 MB, free: 2.562 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001514/0.1046, allocations: 0.7503 MB / 465.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1046, allocations: 8.031 kB / 465.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.817e-05/0.1047, allocations: 66.72 kB / 465.6 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.968e-05/0.1048, allocations: 44.69 kB / 465.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004306/0.1052, allocations: 322.7 kB / 465.9 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.1054, allocations: 58.92 kB / 466 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.557e-05/0.1054, allocations: 32.36 kB / 466 MB, free: 1.176 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008517/0.1063, allocations: 396.9 kB / 466.4 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1063, allocations: 4 kB / 466.4 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.1064, allocations: 8 kB / 466.4 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.1064, allocations: 8 kB / 466.4 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008571/0.1072, allocations: 330.3 kB / 466.7 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002259/0.1095, allocations: 1.503 MB / 468.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.1106, allocations: 381.3 kB / 468.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000469/0.1111, allocations: 201.5 kB / 468.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.1111, allocations: 7.938 kB / 468.8 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005649/0.1117, allocations: 240.9 kB / 469.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.914e-06/0.1117, allocations: 0 / 469.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001395/0.1131, allocations: 0.4893 MB / 469.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.1132, allocations: 81.11 kB / 469.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.1135, allocations: 287 kB / 469.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.1136, allocations: 29.7 kB / 469.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.1137, allocations: 200.5 kB / 470.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.069e-05/0.1138, allocations: 91.2 kB / 470.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.114, allocations: 61.83 kB / 470.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1141, allocations: 338.8 kB / 470.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.1146, allocations: 147.9 kB / 470.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.115, allocations: 208.8 kB / 471 MB, free: 12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008421/0.1159, allocations: 371.4 kB / 471.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1159, allocations: 4 kB / 471.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001048/0.117, allocations: 458.8 kB / 471.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.006e-05/0.117, allocations: 33.7 kB / 471.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.117, allocations: 0 / 471.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.1171, allocations: 4 kB / 471.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.1182, allocations: 211.8 kB / 472 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.1201, allocations: 1.683 MB / 473.7 MB, free: 9.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.1204, allocations: 47.69 kB / 473.7 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.1205, allocations: 12.09 kB / 473.8 MB, free: 9.012 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.0002239/0.1207, allocations: 177.7 kB / 473.9 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.1208, allocations: 31.81 kB / 474 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009298/0.1217, allocations: 364.4 kB / 474.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1217, allocations: 8 kB / 474.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.1217, allocations: 0 / 474.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1217, allocations: 0 / 474.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005055/0.1222, allocations: 461.2 kB / 474.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.1222, allocations: 4 kB / 474.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.1233, allocations: 199.7 kB / 475 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1233, allocations: 4 kB / 475 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.1233, allocations: 8 kB / 475 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.1251, allocations: 1.671 MB / 476.7 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1251, allocations: 7.969 kB / 476.7 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.1264, allocations: 0.5758 MB / 477.2 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.989e-05/0.1265, allocations: 112.9 kB / 477.4 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.1266, allocations: 12 kB / 477.4 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.1268, allocations: 23.97 kB / 477.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.134e-05/0.1269, allocations: 23.97 kB / 477.4 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.1269, allocations: 11.94 kB / 477.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002112/0.1272, allocations: 209.9 kB / 477.6 MB, free: 4.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1272, allocations: 0 / 477.6 MB, free: 4.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004107/0.1276, allocations: 91.84 kB / 477.7 MB, free: 4.816 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.001717/0.1293, allocations: 1.128 MB / 478.8 MB, free: 3.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.131, allocations: 0.5108 MB / 479.4 MB, free: 3.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.131, allocations: 4.188 kB / 479.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.1321, allocations: 312 kB / 479.7 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.1325, allocations: 51.36 kB / 479.7 MB, free: 2.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006286/0.1388, allocations: 3.572 MB / 483.3 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.1394, allocations: 0.7909 MB / 484.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.1395, allocations: 30.27 kB / 484.1 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001838/0.1397, allocations: 107.4 kB / 484.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1397, allocations: 0 / 484.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03546/0.1752, allocations: 6.904 MB / 491.1 MB, free: 7.344 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.25, allocations: 11.39 kB / 491.1 MB, free: 7.336 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)