Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.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.001432/0.001432, allocations: 114.8 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.001384/0.001384, allocations: 210.2 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.483/1.483, 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.02369/0.02369, allocations: 4.714 MB / 314.3 MB, free: 1.867 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_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Examples.SingleZone_ArtificialInputs,fileNamePrefix="FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs",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.002029/0.002029, allocations: 64.06 kB / 436.8 MB, free: 38.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08686/0.08889, allocations: 54.46 MB / 491.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_ArtificialInputs): time 0.003495/0.09239, allocations: 2.892 MB / 494.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.09368, allocations: 0.7825 MB / 494.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002559/0.09393, allocations: 5.438 kB / 494.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.09409, allocations: 46.92 kB / 494.9 MB, free: 9.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.09429, allocations: 86.95 kB / 495 MB, free: 9.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.09465, allocations: 133.5 kB / 495.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004031/0.09505, allocations: 408.5 kB / 495.6 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.09536, allocations: 174 kB / 495.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.09561, allocations: 155.5 kB / 495.9 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001784/0.09579, allocations: 159.3 kB / 496 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.493e-05/0.09584, allocations: 44 kB / 496.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.388e-05/0.09592, allocations: 56 kB / 496.1 MB, free: 8.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.348e-05/0.09598, allocations: 83.75 kB / 496.2 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.09609, allocations: 171.2 kB / 496.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.09644, allocations: 434.5 kB / 496.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.09645, allocations: 0 / 496.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09645, allocations: 0 / 496.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.09646, allocations: 3.938 kB / 496.8 MB, free: 7.945 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.001069/0.09753, allocations: 0.6646 MB / 497.5 MB, free: 7.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.09756, allocations: 11.97 kB / 497.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.59e-05/0.09758, allocations: 8.75 kB / 497.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.09763, allocations: 62.72 kB / 497.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.09787, allocations: 52.73 kB / 497.6 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.09812, allocations: 279.8 kB / 497.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.09814, allocations: 16.94 kB / 497.9 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.09819, allocations: 24.38 kB / 497.9 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.09875, allocations: 335.6 kB / 498.3 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.09876, allocations: 0 / 498.3 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.09879, allocations: 16 kB / 498.3 MB, free: 6.379 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.0988, allocations: 7.938 kB / 498.3 MB, free: 6.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005736/0.09937, allocations: 278 kB / 498.5 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.1005, allocations: 1.047 MB / 499.6 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006585/0.1012, allocations: 288.1 kB / 499.9 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.1015, allocations: 144.8 kB / 0.4883 GB, free: 4.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.1015, allocations: 4 kB / 0.4883 GB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000346/0.1019, allocations: 199.6 kB / 0.4885 GB, free: 4.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.054e-06/0.1019, allocations: 0 / 0.4885 GB, free: 4.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008914/0.1028, allocations: 419.2 kB / 0.4889 GB, free: 3.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.1028, allocations: 59.39 kB / 0.4889 GB, free: 3.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.103, allocations: 237 kB / 0.4892 GB, free: 3.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.103, allocations: 29.7 kB / 0.4892 GB, free: 3.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.1031, allocations: 172.3 kB / 0.4894 GB, free: 3.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.1031, allocations: 75.33 kB / 0.4894 GB, free: 3.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.302e-05/0.1032, allocations: 49.69 kB / 0.4895 GB, free: 3.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.702e-05/0.1032, allocations: 338.8 kB / 0.4898 GB, free: 2.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.1035, allocations: 123.9 kB / 0.4899 GB, free: 2.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.1038, allocations: 168.3 kB / 0.4901 GB, free: 2.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005311/0.1043, allocations: 312.7 kB / 0.4904 GB, free: 2.324 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1043, allocations: 0 / 0.4904 GB, free: 2.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006785/0.105, allocations: 390 kB / 0.4908 GB, free: 1.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.105, allocations: 39.09 kB / 0.4908 GB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.105, allocations: 0 / 0.4908 GB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1051, allocations: 0 / 0.4908 GB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000321/0.1054, allocations: 67.89 kB / 0.4909 GB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1054, allocations: 4 kB / 0.4909 GB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.1056, allocations: 27.88 kB / 0.4909 GB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.307e-05/0.1056, allocations: 15.98 kB / 0.4909 GB, free: 1.777 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 (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 (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.000121/0.1057, allocations: 173.7 kB / 0.4911 GB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.1058, allocations: 23.86 kB / 0.4911 GB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006711/0.1064, allocations: 334.4 kB / 0.4914 GB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.1064, allocations: 4 kB / 0.4914 GB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1064, allocations: 0 / 0.4914 GB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.1065, allocations: 7.984 kB / 0.4914 GB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000277/0.1067, allocations: 389.3 kB / 0.4918 GB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1067, allocations: 3.938 kB / 0.4918 GB, free: 0.7969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/0.107, allocations: 51.95 kB / 0.4918 GB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.107, allocations: 4 kB / 0.4919 GB, free: 0.7422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.1071, allocations: 4 kB / 0.4919 GB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1071, allocations: 0 / 0.4919 GB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1071, allocations: 0 / 0.4919 GB, free: 0.7383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000882/0.1079, allocations: 0.4928 MB / 0.4923 GB, free: 232 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.377e-05/0.108, allocations: 112.8 kB / 0.4924 GB, free: 100 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.776e-05/0.108, allocations: 8 kB / 0.4925 GB, free: 92 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.1082, allocations: 24.03 kB / 0.4925 GB, free: 68 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/0.1083, allocations: 23.97 kB / 0.4925 GB, free: 44 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.1083, allocations: 4 kB / 0.4925 GB, free: 40 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001718/0.1085, allocations: 172.5 kB / 0.4927 GB, free: 15.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1085, allocations: 4 kB / 0.4927 GB, free: 15.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003043/0.1088, allocations: 67.83 kB / 0.4927 GB, free: 15.8 MB / 366.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,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 (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.001527/0.1103, allocations: 1.041 MB / 0.4938 GB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000776/0.1111, allocations: 339.2 kB / 0.4941 GB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.1111, allocations: 3.938 kB / 0.4941 GB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.1114, allocations: 139.8 kB / 0.4942 GB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.1117, allocations: 54.48 kB / 0.4943 GB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004826/0.1166, allocations: 2.959 MB / 0.4972 GB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.1171, allocations: 0.7788 MB / 0.4979 GB, free: 10.33 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.1172, allocations: 33.52 kB / 0.4979 GB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.1174, allocations: 83.41 kB / 0.498 GB, free: 10.22 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1174, allocations: 0 / 0.498 GB, free: 10.22 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/0.1509, allocations: 5.626 MB / 0.5035 GB, free: 4.727 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.484/8.635, allocations: 4 kB / 0.5035 GB, free: 4.723 MB / 366.1 MB " [Timeout remaining time 651] (rm -f FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; mkfifo FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe >> ../files/FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs_fmu --startTime=0 --stopTime=604800 --stepSize=1209.6 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Examples_SingleZone_ArtificialInputs.fmu > FastBuildings_FastBuildings.Examples.SingleZone_ArtificialInputs.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.259567075001542] Failed to read output from testmodel.py, exit status != 0: 8.762683417997323 8.777325352 8.677751577 Calling exit ...