Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.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.001713/0.001713, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002141/0.002141, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.459/1.459, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.02318/0.02318, allocations: 4.719 MB / 314.3 MB, free: 1.852 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_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",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.00197/0.00197, allocations: 64.45 kB / 436.8 MB, free: 38.83 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08959/0.09156, allocations: 54.45 MB / 491.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.003489/0.09505, allocations: 2.912 MB / 494.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.09615, allocations: 0.752 MB / 494.9 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.09629, allocations: 5.562 kB / 494.9 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.09643, allocations: 43.83 kB / 494.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.09657, allocations: 97.92 kB / 495 MB, free: 9.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.09687, allocations: 118.4 kB / 495.1 MB, free: 9.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002994/0.09717, allocations: 385.1 kB / 495.5 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000245/0.09742, allocations: 148.8 kB / 495.7 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000188/0.0976, allocations: 147.6 kB / 495.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.09775, allocations: 163.3 kB / 496 MB, free: 8.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.916e-05/0.09779, allocations: 36 kB / 496 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-05/0.09785, allocations: 48 kB / 496 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.0979, allocations: 79.64 kB / 496.1 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.09801, allocations: 167.3 kB / 496.3 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.09832, allocations: 406.5 kB / 496.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.09832, allocations: 0 / 496.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09832, allocations: 0 / 496.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.372e-06/0.09833, allocations: 0 / 496.7 MB, free: 8.078 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.0009658/0.0993, allocations: 0.6562 MB / 497.3 MB, free: 7.367 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.09933, allocations: 8.031 kB / 497.3 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.474e-05/0.09934, allocations: 16.69 kB / 497.4 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.124e-05/0.09939, allocations: 58.73 kB / 497.4 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002393/0.09962, allocations: 52.72 kB / 497.5 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.09986, allocations: 267.9 kB / 497.7 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.09988, allocations: 20.94 kB / 497.8 MB, free: 6.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/0.09992, allocations: 24.38 kB / 497.8 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005102/0.1004, allocations: 319.5 kB / 498.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1004, allocations: 0 / 498.1 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.1005, allocations: 7.984 kB / 498.1 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1005, allocations: 8 kB / 498.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005173/0.101, allocations: 242.1 kB / 498.3 MB, free: 6.309 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001096/0.1021, allocations: 1.005 MB / 499.3 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/0.1027, allocations: 268 kB / 499.6 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.103, allocations: 132.8 kB / 499.7 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.103, allocations: 3.984 kB / 499.7 MB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003357/0.1033, allocations: 171.7 kB / 499.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.1033, allocations: 0 / 499.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008689/0.1042, allocations: 383.4 kB / 0.4886 GB, free: 4.273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.534e-05/0.1042, allocations: 59.39 kB / 0.4886 GB, free: 4.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.1044, allocations: 221 kB / 0.4888 GB, free: 3.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1044, allocations: 29.7 kB / 0.4889 GB, free: 3.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.1045, allocations: 172.3 kB / 0.489 GB, free: 3.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.1045, allocations: 79.3 kB / 0.4891 GB, free: 3.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.689e-05/0.1046, allocations: 53.64 kB / 0.4891 GB, free: 3.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.056e-05/0.1046, allocations: 338.8 kB / 0.4895 GB, free: 3.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.1049, allocations: 107.9 kB / 0.4896 GB, free: 3.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.1052, allocations: 144.4 kB / 0.4897 GB, free: 3.039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/0.1056, allocations: 292.7 kB / 0.49 GB, free: 2.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.1056, allocations: 0 / 0.49 GB, free: 2.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006172/0.1063, allocations: 369.9 kB / 0.4903 GB, free: 2.363 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.1063, allocations: 35.11 kB / 0.4904 GB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1063, allocations: 3.938 kB / 0.4904 GB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.1063, allocations: 0 / 0.4904 GB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.1066, allocations: 59.95 kB / 0.4904 GB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1066, allocations: 12.03 kB / 0.4904 GB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.1068, allocations: 31.86 kB / 0.4905 GB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.1068, allocations: 12 kB / 0.4905 GB, free: 2.207 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 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.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.00011/0.1069, allocations: 149.8 kB / 0.4906 GB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.107, allocations: 31.83 kB / 0.4907 GB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006501/0.1076, allocations: 306.4 kB / 0.491 GB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.1076, allocations: 4 kB / 0.491 GB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1076, allocations: 0 / 0.491 GB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1076, allocations: 3.984 kB / 0.491 GB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.1079, allocations: 369.3 kB / 0.4913 GB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1079, allocations: 3.938 kB / 0.4913 GB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.1082, allocations: 59.89 kB / 0.4914 GB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1082, allocations: 0 / 0.4914 GB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.1082, allocations: 12 kB / 0.4914 GB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1082, allocations: 0 / 0.4914 GB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1082, allocations: 0 / 0.4914 GB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008217/0.109, allocations: 452.7 kB / 0.4918 GB, free: 0.7617 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.1091, allocations: 108.9 kB / 0.4919 GB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.1091, allocations: 4 kB / 0.4919 GB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.1093, allocations: 19.97 kB / 0.4919 GB, free: 0.6133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.107e-05/0.1094, allocations: 19.97 kB / 0.492 GB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.1094, allocations: 8 kB / 0.492 GB, free: 0.5859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.52e-05/0.1095, allocations: 164.5 kB / 0.4921 GB, free: 436 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1095, allocations: 3.938 kB / 0.4921 GB, free: 432 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.1097, allocations: 67.95 kB / 0.4922 GB, free: 364 kB / 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,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (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 0.001217/0.1109, allocations: 0.9907 MB / 0.4932 GB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007656/0.1117, allocations: 311.1 kB / 0.4935 GB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1117, allocations: 0 / 0.4935 GB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003138/0.112, allocations: 120 kB / 0.4936 GB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.1123, allocations: 48.34 kB / 0.4936 GB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004302/0.1166, allocations: 2.819 MB / 0.4964 GB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.117, allocations: 0.7671 MB / 0.4971 GB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.1171, allocations: 25.53 kB / 0.4971 GB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.1173, allocations: 87.39 kB / 0.4972 GB, free: 11.04 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1173, allocations: 0 / 0.4972 GB, free: 11.04 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02253/0.1398, allocations: 5.378 MB / 0.5025 GB, free: 5.785 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.702/8.842, allocations: 16 kB / 0.5025 GB, free: 5.77 MB / 366.1 MB " [Timeout remaining time 651] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined.fmu > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.472812592983246] Failed to read output from testmodel.py, exit status != 0: 8.971502982021775 8.992301901 8.890193594 Calling exit ...