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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 115.6 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.449/1.449, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02365/0.02365, allocations: 4.705 MB / 314.3 MB, free: 1.875 MB / 238.1 MB " [Timeout remaining time 180] Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Controlled,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Controlled",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: FastBuildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 65.41 kB / 436.8 MB, free: 38.74 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0847/0.08671, allocations: 54.46 MB / 491.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Controlled): time 0.004138/0.09085, allocations: 3.234 MB / 494.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.09263, allocations: 0.8571 MB / 495.3 MB, free: 9.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003536/0.09298, allocations: 10.84 kB / 495.3 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.0932, allocations: 59.38 kB / 495.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.09352, allocations: 122.9 kB / 495.5 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.09395, allocations: 163.7 kB / 495.7 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005222/0.09447, allocations: 0.5063 MB / 496.2 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003573/0.09483, allocations: 199.2 kB / 496.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000365/0.09519, allocations: 203.4 kB / 496.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.09546, allocations: 203.1 kB / 496.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.482e-05/0.09553, allocations: 60 kB / 496.8 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.09564, allocations: 64 kB / 496.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.076e-05/0.09571, allocations: 99.69 kB / 497 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.09589, allocations: 223.1 kB / 497.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004686/0.09635, allocations: 0.5567 MB / 497.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.09636, allocations: 3.984 kB / 497.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.09636, allocations: 0 / 497.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.09637, allocations: 0 / 497.8 MB, free: 7.016 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.0013/0.09767, allocations: 0.758 MB / 498.5 MB, free: 6.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.09771, allocations: 12.03 kB / 498.5 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.881e-05/0.09773, allocations: 8.844 kB / 498.5 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.841e-05/0.09779, allocations: 66.73 kB / 498.6 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/0.09805, allocations: 60.67 kB / 498.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.0984, allocations: 327.6 kB / 499 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-05/0.09849, allocations: 50.92 kB / 499 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.09854, allocations: 40.11 kB / 499.1 MB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007178/0.09926, allocations: 396.9 kB / 499.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.09928, allocations: 0 / 499.5 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.09931, allocations: 12 kB / 499.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.09932, allocations: 8 kB / 499.5 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007599/0.1001, allocations: 326.4 kB / 499.8 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001747/0.1018, allocations: 1.511 MB / 0.4896 GB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00088/0.1027, allocations: 361.3 kB / 0.4899 GB, free: 2.871 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003907/0.1031, allocations: 181.6 kB / 0.4901 GB, free: 2.688 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.1031, allocations: 4 kB / 0.4901 GB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004633/0.1036, allocations: 236.9 kB / 0.4903 GB, free: 2.434 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.1036, allocations: 4 kB / 0.4903 GB, free: 2.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.001163/0.1048, allocations: 497 kB / 0.4908 GB, free: 1.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.1048, allocations: 89.17 kB / 0.4909 GB, free: 1.832 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.105, allocations: 298.9 kB / 0.4911 GB, free: 1.531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.105, allocations: 25.7 kB / 0.4912 GB, free: 1.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.9e-05/0.1051, allocations: 204.5 kB / 0.4914 GB, free: 1.297 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.201e-05/0.1052, allocations: 95.22 kB / 0.4915 GB, free: 1.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.462e-05/0.1053, allocations: 53.7 kB / 0.4915 GB, free: 1.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.754e-05/0.1053, allocations: 346.7 kB / 0.4918 GB, free: 0.7969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.1057, allocations: 143.9 kB / 0.492 GB, free: 0.6562 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/0.1061, allocations: 205 kB / 0.4922 GB, free: 448 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006977/0.1068, allocations: 375.4 kB / 0.4925 GB, free: 48 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1068, allocations: 0 / 0.4925 GB, free: 48 kB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001056/0.1078, allocations: 459.9 kB / 0.493 GB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.1079, allocations: 29.7 kB / 0.493 GB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.1079, allocations: 4 kB / 0.493 GB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1079, allocations: 0 / 0.493 GB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.109, allocations: 219.7 kB / 0.4932 GB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.1108, allocations: 1.676 MB / 0.4948 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.1111, allocations: 47.75 kB / 0.4949 GB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.1112, allocations: 12 kB / 0.4949 GB, free: 13.46 MB / 366.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.0002146/0.1114, allocations: 179.9 kB / 0.4951 GB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.641e-05/0.1114, allocations: 31.88 kB / 0.4951 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009687/0.1124, allocations: 371.5 kB / 0.4955 GB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1124, allocations: 4 kB / 0.4955 GB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1124, allocations: 0 / 0.4955 GB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1124, allocations: 3.984 kB / 0.4955 GB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.1129, allocations: 461.2 kB / 0.4959 GB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1129, allocations: 0 / 0.4959 GB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.114, allocations: 203.7 kB / 0.4961 GB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.114, allocations: 0 / 0.4961 GB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.1141, allocations: 11.98 kB / 0.4961 GB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/0.1158, allocations: 1.671 MB / 0.4977 GB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1158, allocations: 0 / 0.4977 GB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.1172, allocations: 0.5806 MB / 0.4983 GB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.676e-05/0.1173, allocations: 112.9 kB / 0.4984 GB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.1174, allocations: 4 kB / 0.4984 GB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.1176, allocations: 31.95 kB / 0.4985 GB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.049e-05/0.1177, allocations: 27.95 kB / 0.4985 GB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/0.1177, allocations: 15.94 kB / 0.4985 GB, free: 9.543 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002253/0.1179, allocations: 209.9 kB / 0.4987 GB, free: 9.336 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1179, allocations: 0 / 0.4987 GB, free: 9.336 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004208/0.1184, allocations: 87.89 kB / 0.4988 GB, free: 9.25 MB / 366.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.001721/0.1201, allocations: 1.128 MB / 0.4999 GB, free: 8.086 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.1218, allocations: 0.5108 MB / 0.5004 GB, free: 7.562 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1218, allocations: 0 / 0.5004 GB, free: 7.562 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.1229, allocations: 299.8 kB / 0.5007 GB, free: 7.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.1233, allocations: 48.97 kB / 0.5007 GB, free: 7.219 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006167/0.1294, allocations: 3.578 MB / 0.5042 GB, free: 3.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.1299, allocations: 0.7975 MB / 0.505 GB, free: 2.699 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001494/0.13, allocations: 34.28 kB / 0.505 GB, free: 2.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.1302, allocations: 107.4 kB / 0.5051 GB, free: 2.562 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1302, allocations: 0 / 0.5051 GB, free: 2.562 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02836/0.1586, allocations: 7.078 MB / 0.512 GB, free: 11.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.39, allocations: 8 kB / 0.512 GB, free: 11.62 MB / 382.1 MB " [Timeout remaining time 647] (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 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Controlled.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Controlled.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.028128491016105] Failed to read output from testmodel.py, exit status != 0: 12.544127534027211 12.56383556 12.463704079 Calling exit ...