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.0007466/0.0007466, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001697/0.001697, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8997/0.8997, allocations: 177.2 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.01587/0.01587, allocations: 3.572 MB / 262.8 MB, free: 9.824 MB / 250.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_Inputs_defined,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_Inputs_defined",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 386.8 MB, free: 9.875 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.177e-05/2.365e-05, allocations: 2.281 kB / 386.9 MB, free: 9.871 MB / 314.7 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.004446/0.004469, allocations: 2.717 MB / 389.6 MB, free: 7.137 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001416/0.005886, allocations: 0.7244 MB / 390.3 MB, free: 6.406 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002275/0.006113, allocations: 11.94 kB / 390.3 MB, free: 6.395 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.006261, allocations: 47.52 kB / 390.4 MB, free: 6.348 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.00641, allocations: 95.08 kB / 390.4 MB, free: 6.254 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.006755, allocations: 115.8 kB / 390.6 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.007097, allocations: 402.3 kB / 391 MB, free: 5.746 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002494/0.007347, allocations: 128.8 kB / 391.1 MB, free: 5.625 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.007663, allocations: 231.5 kB / 391.3 MB, free: 5.398 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.007841, allocations: 111.7 kB / 391.4 MB, free: 5.289 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.048e-05/0.007891, allocations: 36 kB / 391.4 MB, free: 5.254 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.338e-05/0.007974, allocations: 51.92 kB / 391.5 MB, free: 5.203 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.008035, allocations: 79.73 kB / 391.6 MB, free: 5.125 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.008143, allocations: 115.8 kB / 391.7 MB, free: 5.012 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.008474, allocations: 410.9 kB / 392.1 MB, free: 4.609 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.008479, allocations: 0 / 392.1 MB, free: 4.609 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.008481, allocations: 0 / 392.1 MB, free: 4.609 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.008486, allocations: 0 / 392.1 MB, free: 4.609 MB / 314.7 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.0008012/0.009287, allocations: 0.5724 MB / 392.7 MB, free: 4.004 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.009327, allocations: 12.03 kB / 392.7 MB, free: 3.992 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.645e-05/0.009374, allocations: 58.73 kB / 392.7 MB, free: 3.926 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.009529, allocations: 60.61 kB / 392.8 MB, free: 3.867 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.009765, allocations: 213.2 kB / 393 MB, free: 3.633 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.009782, allocations: 20.88 kB / 393 MB, free: 3.613 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.009818, allocations: 24.38 kB / 393 MB, free: 3.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.01021, allocations: 311.3 kB / 393.3 MB, free: 3.277 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.01022, allocations: 192 / 393.3 MB, free: 3.277 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.01024, allocations: 12.12 kB / 393.4 MB, free: 3.266 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.01025, allocations: 11.94 kB / 393.4 MB, free: 3.254 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.01059, allocations: 241.8 kB / 393.6 MB, free: 3.012 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009322/0.01152, allocations: 0.8309 MB / 394.4 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.01194, allocations: 270.7 kB / 394.7 MB, free: 1.859 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.0121, allocations: 133.1 kB / 394.8 MB, free: 1.727 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.01212, allocations: 4 kB / 394.8 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.01236, allocations: 174.5 kB / 395 MB, free: 1.543 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.01236, allocations: 0 / 395 MB, free: 1.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006106/0.01297, allocations: 377.3 kB / 395.4 MB, free: 1.168 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.013, allocations: 63.28 kB / 395.4 MB, free: 1.094 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.01314, allocations: 233.7 kB / 395.7 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.01316, allocations: 29.7 kB / 395.7 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/0.01324, allocations: 172.3 kB / 395.9 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.299e-05/0.01328, allocations: 79.31 kB / 395.9 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.01334, allocations: 45.7 kB / 396 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.204e-05/0.01343, allocations: 338.8 kB / 396.3 MB, free: 180 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/0.01359, allocations: 133.6 kB / 396.4 MB, free: 40 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.01377, allocations: 178 kB / 396.6 MB, free: 15.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003186/0.01409, allocations: 291.2 kB / 396.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01409, allocations: 0 / 396.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005194/0.01461, allocations: 387.8 kB / 397.3 MB, free: 15.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.01464, allocations: 37.64 kB / 397.3 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01465, allocations: 0 / 397.3 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.01466, allocations: 4 kB / 397.3 MB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.01485, allocations: 71.88 kB / 397.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.01486, allocations: 0 / 397.4 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.757e-05/0.01496, allocations: 31.88 kB / 397.4 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.01497, allocations: 4 kB / 397.4 MB, free: 15 MB / 330.7 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.0001093/0.01508, allocations: 161.8 kB / 397.6 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.0151, allocations: 23.86 kB / 397.6 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003973/0.0155, allocations: 303.7 kB / 397.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.0155, allocations: 7.938 kB / 397.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.01551, allocations: 0 / 397.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01551, allocations: 0 / 397.9 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.01572, allocations: 308.5 kB / 398.2 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01573, allocations: 0 / 398.2 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.01588, allocations: 59.95 kB / 398.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.01589, allocations: 0 / 398.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.0159, allocations: 4 kB / 398.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.0159, allocations: 11.88 kB / 398.3 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.01591, allocations: 0 / 398.3 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005282/0.01643, allocations: 459.5 kB / 398.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.01646, allocations: 31.78 kB / 398.8 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.122e-05/0.01648, allocations: 0 / 398.8 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.492e-05/0.01656, allocations: 27.91 kB / 398.8 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.651e-05/0.01661, allocations: 23.95 kB / 398.8 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.01663, allocations: 8 kB / 398.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.677e-05/0.01671, allocations: 165.2 kB / 399 MB, free: 13.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01671, allocations: 4.062 kB / 399 MB, free: 13.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001853/0.0169, allocations: 63.89 kB / 399.1 MB, free: 13.3 MB / 330.7 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.0006876/0.01758, allocations: 0.9831 MB / 400 MB, free: 12.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004119/0.018, allocations: 340.8 kB / 400.4 MB, free: 11.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.018, allocations: 3.938 kB / 400.4 MB, free: 11.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.01815, allocations: 119.8 kB / 400.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002048/0.01836, allocations: 47.41 kB / 400.5 MB, free: 11.78 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/0.02109, allocations: 2.903 MB / 403.4 MB, free: 8.734 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.057e-05/0.02118, allocations: 154.5 kB / 403.6 MB, free: 8.566 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.156e-05/0.02126, allocations: 25.62 kB / 403.6 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.02137, allocations: 88.47 kB / 403.7 MB, free: 8.453 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02137, allocations: 0 / 403.7 MB, free: 8.453 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.03837, allocations: 6.144 MB / 409.8 MB, free: 2.461 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.68/6.718, allocations: 7.969 kB / 409.9 MB, free: 2.453 MB / 330.7 MB " [Timeout remaining time 653] (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: 8.536350707523525] Failed to read output from testmodel.py, exit status != 0: 6.802285149693489 6.955071779 6.94472134 Calling exit ...