Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 110.6 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001815/0.001815, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.52/1.52, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.02454/0.02454, allocations: 4.72 MB / 307.4 MB, free: 5.199 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.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.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.TwoZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.89 kB / 427.5 MB, free: 20.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09454/0.09647, allocations: 53.27 MB / 480.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.TwoZone_ArtificialInputs): time 0.005745/0.1022, allocations: 3.981 MB / 484.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.1039, allocations: 0.9115 MB / 485.7 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/0.1041, allocations: 12 kB / 485.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.1043, allocations: 83.16 kB / 485.8 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003197/0.1046, allocations: 170.5 kB / 486 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.1051, allocations: 183.7 kB / 486.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008045/0.1059, allocations: 0.7479 MB / 486.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006308/0.1065, allocations: 384.5 kB / 487.3 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003704/0.1069, allocations: 283.1 kB / 487.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003581/0.1072, allocations: 290.8 kB / 487.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.1073, allocations: 87.94 kB / 487.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001195/0.1074, allocations: 88 kB / 488 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001474/0.1076, allocations: 155.6 kB / 488.2 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003689/0.108, allocations: 334.6 kB / 488.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008888/0.1088, allocations: 0.8409 MB / 489.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1089, allocations: 0 / 489.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1089, allocations: 0 / 489.3 MB, free: 6.359 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1089, allocations: 0 / 489.3 MB, free: 6.359 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001749/0.1106, allocations: 0.9024 MB / 490.2 MB, free: 5.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1107, allocations: 12.03 kB / 490.2 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001159/0.1108, allocations: 98.64 kB / 490.3 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.1109, allocations: 60.56 kB / 490.4 MB, free: 5.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005249/0.1114, allocations: 383.3 kB / 490.8 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.1114, allocations: 37.38 kB / 490.8 MB, free: 4.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.903e-05/0.1115, allocations: 48.38 kB / 490.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.1126, allocations: 0.5927 MB / 491.4 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1126, allocations: 0 / 491.4 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.765e-05/0.1127, allocations: 20 kB / 491.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.1127, allocations: 12 kB / 491.5 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009959/0.1137, allocations: 475.6 kB / 491.9 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.1164, allocations: 1.891 MB / 493.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008167/0.1173, allocations: 389.8 kB / 494.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000536/0.1178, allocations: 258.2 kB / 494.5 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/0.1178, allocations: 4.281 kB / 494.5 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000636/0.1185, allocations: 313.6 kB / 494.8 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=38): time 1.994e-06/0.1185, allocations: 4 kB / 494.8 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of matching and sorting (n=38): time 0.001546/0.12, allocations: 0.6485 MB / 495.4 MB, free: 16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/0.1201, allocations: 93.03 kB / 495.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004302/0.1205, allocations: 336.5 kB / 495.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.1206, allocations: 33.7 kB / 495.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.1208, allocations: 260.4 kB / 496.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.121, allocations: 134.9 kB / 496.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.1211, allocations: 82.08 kB / 496.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.1213, allocations: 350.7 kB / 496.7 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004744/0.1218, allocations: 204.8 kB / 496.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005066/0.1223, allocations: 275.4 kB / 497.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000952/0.1232, allocations: 0.506 MB / 497.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1232, allocations: 0 / 497.7 MB, free: 13.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001243/0.1245, allocations: 0.6018 MB / 498.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.627e-05/0.1245, allocations: 29.7 kB / 498.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.1246, allocations: 4 kB / 498.3 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.1246, allocations: 11.92 kB / 498.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/0.1253, allocations: 123.8 kB / 498.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.1253, allocations: 4 kB / 498.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003545/0.1257, allocations: 51.83 kB / 498.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.1257, allocations: 20 kB / 498.5 MB, free: 12.78 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (51): * Single equations (assignments): 50 * 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.0003155/0.126, allocations: 211.9 kB / 498.7 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.1261, allocations: 39.77 kB / 498.8 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.1271, allocations: 465.5 kB / 499.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.1271, allocations: 4 kB / 499.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1271, allocations: 0 / 499.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1271, allocations: 7.984 kB / 499.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000779/0.1279, allocations: 0.6064 MB / 499.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.1279, allocations: 0 / 499.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006213/0.1285, allocations: 107.9 kB / 499.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-06/0.1285, allocations: 0 / 499.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.1285, allocations: 15.98 kB / 499.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1285, allocations: 0 / 499.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1286, allocations: 4 kB / 500 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.1301, allocations: 0.7744 MB / 0.489 GB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.1303, allocations: 124.9 kB / 0.4891 GB, free: 10.33 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.465e-05/0.1303, allocations: 16 kB / 0.4891 GB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.1306, allocations: 23.97 kB / 0.4891 GB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.1307, allocations: 35.95 kB / 0.4892 GB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.1307, allocations: 12 kB / 0.4892 GB, free: 10.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002927/0.131, allocations: 239 kB / 0.4894 GB, free: 10.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.131, allocations: 0 / 0.4894 GB, free: 10.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004815/0.1315, allocations: 131.7 kB / 0.4895 GB, free: 9.887 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (bui.zon1.capZon.heaPor.T,bui.zon1.capWal.heaPor.T,bui.zon1.capInt.heaPor.T,bui.zon2.capZon.heaPor.T,bui.bou.capWal.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 (38): * Single equations (assignments): 36 * 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.002018/0.1335, allocations: 1.337 MB / 0.4909 GB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.1348, allocations: 0.5066 MB / 0.4913 GB, free: 8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1348, allocations: 0 / 0.4913 GB, free: 8 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004908/0.1353, allocations: 232.1 kB / 0.4916 GB, free: 7.773 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.1357, allocations: 61 kB / 0.4916 GB, free: 7.715 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007709/0.1434, allocations: 4.467 MB / 0.496 GB, free: 3.098 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005734/0.144, allocations: 0.8618 MB / 0.4968 GB, free: 2.207 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002626/0.1442, allocations: 58.94 kB / 0.4969 GB, free: 2.145 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.1445, allocations: 155.4 kB / 0.497 GB, free: 1.992 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1445, allocations: 0 / 0.497 GB, free: 1.992 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0342/0.1787, allocations: 8.81 MB / 0.5056 GB, free: 9.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.378/8.557, allocations: 7.859 kB / 0.5056 GB, free: 9.301 MB / 382.1 MB " [Timeout remaining time 651] (rm -f FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_TwoZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.TwoZone_ArtificialInputs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.303840112872422] Failed to read output from testmodel.py, exit status != 0: 8.629004057031125 8.820133348 8.708112475 Calling exit ...