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.001276/0.001276, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00146/0.00146, allocations: 220.1 kB / 23.01 MB, free: 4.609 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.02687/0.02687, allocations: 4.719 MB / 317.9 MB, free: 14.57 MB / 254.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: translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") translateModel(FastBuildings.Examples.SingleZone_Inputs_defined,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined") [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.002102/0.002102, allocations: 63.89 kB / 442.5 MB, free: 9.414 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09085/0.09295, allocations: 54.5 MB / 497 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Examples.SingleZone_Inputs_defined): time 0.004336/0.09728, allocations: 2.922 MB / 499.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.0986, allocations: 0.7517 MB / 0.4889 GB, free: 15.12 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.09874, allocations: 11.94 kB / 0.489 GB, free: 15.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.0989, allocations: 47.52 kB / 0.489 GB, free: 15.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.09907, allocations: 83.2 kB / 0.4891 GB, free: 14.98 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003899/0.09946, allocations: 127.8 kB / 0.4892 GB, free: 14.86 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004487/0.09991, allocations: 386.5 kB / 0.4896 GB, free: 14.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.1002, allocations: 148.8 kB / 0.4897 GB, free: 14.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003011/0.1005, allocations: 155.5 kB / 0.4899 GB, free: 14.18 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002236/0.1007, allocations: 147.4 kB / 0.49 GB, free: 14.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.662e-05/0.1008, allocations: 40 kB / 0.49 GB, free: 14 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-05/0.1009, allocations: 51.98 kB / 0.4901 GB, free: 13.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.337e-05/0.1009, allocations: 71.77 kB / 0.4902 GB, free: 13.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.1011, allocations: 167.3 kB / 0.4903 GB, free: 13.71 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004714/0.1016, allocations: 406.5 kB / 0.4907 GB, free: 13.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1016, allocations: 4 kB / 0.4907 GB, free: 13.31 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1016, allocations: 0 / 0.4907 GB, free: 13.31 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1016, allocations: 3.938 kB / 0.4907 GB, free: 13.31 MB / 366.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.001187/0.1028, allocations: 0.5809 MB / 0.4913 GB, free: 12.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1028, allocations: 8.031 kB / 0.4913 GB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.1031, allocations: 48.73 kB / 0.4913 GB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.1034, allocations: 214 kB / 0.4915 GB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.1035, allocations: 24.81 kB / 0.4916 GB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.1035, allocations: 24.38 kB / 0.4916 GB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006696/0.1042, allocations: 315 kB / 0.4919 GB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1042, allocations: 0 / 0.4919 GB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.1042, allocations: 8 kB / 0.4919 GB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1042, allocations: 12 kB / 0.4919 GB, free: 12.01 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006412/0.1049, allocations: 241.8 kB / 0.4921 GB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001568/0.1064, allocations: 0.9707 MB / 0.4931 GB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000737/0.1072, allocations: 262.6 kB / 0.4933 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000333/0.1075, allocations: 132.8 kB / 0.4935 GB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.1075, allocations: 4 kB / 0.4935 GB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004157/0.108, allocations: 176.7 kB / 0.4936 GB, free: 10.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.108, allocations: 3.938 kB / 0.4936 GB, free: 10.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001052/0.109, allocations: 379.7 kB / 0.494 GB, free: 9.777 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.109, allocations: 55.41 kB / 0.4941 GB, free: 9.711 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.1093, allocations: 232.8 kB / 0.4943 GB, free: 9.473 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.1093, allocations: 29.7 kB / 0.4943 GB, free: 9.438 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.1094, allocations: 172.3 kB / 0.4945 GB, free: 9.266 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.911e-05/0.1095, allocations: 79.3 kB / 0.4945 GB, free: 9.188 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.264e-05/0.1096, allocations: 49.7 kB / 0.4946 GB, free: 9.133 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1098, allocations: 338.8 kB / 0.4949 GB, free: 8.793 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/0.1101, allocations: 103.9 kB / 0.495 GB, free: 8.691 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.1104, allocations: 159.3 kB / 0.4952 GB, free: 8.523 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006396/0.1111, allocations: 277.2 kB / 0.4954 GB, free: 8.234 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1111, allocations: 0 / 0.4954 GB, free: 8.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008039/0.1119, allocations: 365.9 kB / 0.4958 GB, free: 7.867 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.169e-05/0.1119, allocations: 40.19 kB / 0.4958 GB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1119, allocations: 0 / 0.4958 GB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.1119, allocations: 4 kB / 0.4958 GB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003353/0.1123, allocations: 63.98 kB / 0.4959 GB, free: 7.758 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.1123, allocations: 8 kB / 0.4959 GB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/0.1125, allocations: 31.88 kB / 0.4959 GB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.1125, allocations: 7.984 kB / 0.4959 GB, free: 7.711 MB / 366.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.0001642/0.1127, allocations: 149.8 kB / 0.4961 GB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.1128, allocations: 27.8 kB / 0.4961 GB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007833/0.1135, allocations: 303.7 kB / 0.4964 GB, free: 7.223 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.1135, allocations: 4 kB / 0.4964 GB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1135, allocations: 0 / 0.4964 GB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1135, allocations: 0 / 0.4964 GB, free: 7.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003994/0.1139, allocations: 344.4 kB / 0.4967 GB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1139, allocations: 0 / 0.4967 GB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000358/0.1143, allocations: 55.89 kB / 0.4968 GB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.1143, allocations: 7.938 kB / 0.4968 GB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.1143, allocations: 11.98 kB / 0.4968 GB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.1143, allocations: 0 / 0.4968 GB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.1143, allocations: 4 kB / 0.4968 GB, free: 6.762 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.1154, allocations: 459.8 kB / 0.4972 GB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.1154, allocations: 27.72 kB / 0.4973 GB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.1155, allocations: 8 kB / 0.4973 GB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001835/0.1156, allocations: 23.97 kB / 0.4973 GB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.002e-05/0.1157, allocations: 23.91 kB / 0.4973 GB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/0.1158, allocations: 4 kB / 0.4973 GB, free: 6.211 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.1159, allocations: 164.5 kB / 0.4975 GB, free: 6.047 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1159, allocations: 0 / 0.4975 GB, free: 6.047 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002997/0.1162, allocations: 71.95 kB / 0.4975 GB, free: 5.977 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,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.0001087/0.1163, allocations: 99.25 kB / 0.4976 GB, free: 5.871 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007186/0.117, allocations: 311 kB / 0.4979 GB, free: 5.555 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.117, allocations: 3.938 kB / 0.4979 GB, free: 5.551 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.1174, allocations: 120 kB / 0.4981 GB, free: 5.434 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.1177, allocations: 40.39 kB / 0.4981 GB, free: 5.395 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.119, allocations: 0.64 MB / 0.4987 GB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.1194, allocations: 0.7593 MB / 0.4995 GB, free: 3.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.829e-05/0.1195, allocations: 23.44 kB / 0.4995 GB, free: 3.914 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1195, allocations: 0 / 0.4995 GB, free: 3.914 MB / 366.1 MB Notification: Performance of Templates: time 0.005896/0.1253, allocations: 3.335 MB / 0.5027 GB, free: 0.582 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.makefile [Timeout 660] (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 & ./FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined -abortSlowSimulation -alarm=480 -lv LOG_STATS > FastBuildings_FastBuildings.Examples.SingleZone_Inputs_defined.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.191130741033703] Failed to read output from testmodel.py, exit status != 0: 0.13327263505198061 0.148991064 0.044111087 Calling exit ...