Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.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.001386/0.001386, allocations: 104.3 kB / 16.45 MB, free: 6.445 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.001361/0.001361, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.284/1.284, allocations: 225.6 MB / 247.8 MB, free: 3.738 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002123/0.002123, allocations: 286.4 kB / 303 MB, free: 3.539 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9615/0.9615, allocations: 180.9 MB / 0.5262 GB, free: 2.785 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002605/0.002605, allocations: 103.8 kB / 0.7247 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4198, allocations: 94.15 MB / 0.8167 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.NumberOfRequests): time 0.002062/0.4219, allocations: 1.485 MB / 0.8181 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006207/0.4225, allocations: 473.6 kB / 0.8186 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.4225, allocations: 0.9375 kB / 0.8186 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.023e-05/0.4226, allocations: 7.219 kB / 0.8186 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.237e-05/0.4227, allocations: 18.42 kB / 0.8186 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.4228, allocations: 38.98 kB / 0.8186 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.423, allocations: 92.75 kB / 0.8187 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.447e-05/0.4231, allocations: 16.48 kB / 0.8187 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.4232, allocations: 49.28 kB / 0.8188 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.95e-05/0.4232, allocations: 48.97 kB / 0.8188 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.4233, allocations: 7.688 kB / 0.8189 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.717e-05/0.4233, allocations: 7.594 kB / 0.8189 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.664e-05/0.4233, allocations: 11.22 kB / 0.8189 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.168e-05/0.4234, allocations: 42.31 kB / 0.8189 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.4235, allocations: 80.48 kB / 0.819 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4235, allocations: 1.156 kB / 0.819 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.412e-06/0.4235, allocations: 0 / 0.819 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.4235, allocations: 0 / 0.819 GB, free: 5.594 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005377/0.424, allocations: 453.5 kB / 0.8194 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.4241, allocations: 9.781 kB / 0.8194 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.988e-05/0.4241, allocations: 37.25 kB / 0.8195 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.4241, allocations: 12.08 kB / 0.8195 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.4243, allocations: 194.8 kB / 0.8197 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.4243, allocations: 4.062 kB / 0.8197 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.4243, allocations: 6.531 kB / 0.8197 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.4246, allocations: 118.1 kB / 0.8198 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.4246, allocations: 4 kB / 0.8198 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.4246, allocations: 2 kB / 0.8198 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4246, allocations: 1.719 kB / 0.8198 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.4248, allocations: 90.45 kB / 0.8199 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000414/0.4253, allocations: 333.7 kB / 0.8202 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.4255, allocations: 100.8 kB / 0.8203 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.4257, allocations: 64.09 kB / 0.8204 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.4257, allocations: 1.406 kB / 0.8204 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002634/0.4259, allocations: 128.1 kB / 0.8205 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.4259, allocations: 0 / 0.8205 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0006086/0.4266, allocations: 271.8 kB / 0.8207 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.4266, allocations: 84.83 kB / 0.8208 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.962e-05/0.4267, allocations: 137.5 kB / 0.8209 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.4267, allocations: 27.92 kB / 0.821 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.4267, allocations: 103.7 kB / 0.8211 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.4267, allocations: 15.98 kB / 0.8211 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.4268, allocations: 36 kB / 0.8211 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.536e-05/0.4268, allocations: 324.3 kB / 0.8214 GB, free: 3.559 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.427, allocations: 62.84 kB / 0.8215 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.4271, allocations: 75.33 kB / 0.8216 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/0.4274, allocations: 185.9 kB / 0.8217 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.4274, allocations: 1.031 kB / 0.8217 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004174/0.4278, allocations: 255.3 kB / 0.822 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.4278, allocations: 65.38 kB / 0.822 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.4279, allocations: 1.969 kB / 0.8221 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.4279, allocations: 4 kB / 0.8221 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.428, allocations: 14.73 kB / 0.8221 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.428, allocations: 0.6094 kB / 0.8221 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.4281, allocations: 19.7 kB / 0.8221 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.4281, allocations: 11.77 kB / 0.8221 GB, free: 3.176 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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 7.979e-05/0.4282, allocations: 149.1 kB / 0.8222 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.4282, allocations: 10.16 kB / 0.8223 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.4283, allocations: 15.02 kB / 0.8223 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.4283, allocations: 1.406 kB / 0.8223 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.4283, allocations: 0.6094 kB / 0.8223 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.4283, allocations: 0 / 0.8223 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.795e-05/0.4284, allocations: 196.2 kB / 0.8225 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4284, allocations: 0 / 0.8225 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.289e-05/0.4285, allocations: 21.19 kB / 0.8225 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.4285, allocations: 0.9375 kB / 0.8225 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.4285, allocations: 2.562 kB / 0.8225 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4285, allocations: 1.781 kB / 0.8225 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4285, allocations: 4 kB / 0.8225 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.4289, allocations: 250.5 kB / 0.8227 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.4289, allocations: 88.84 kB / 0.8228 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.4289, allocations: 7.188 kB / 0.8228 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.429, allocations: 18.45 kB / 0.8228 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.88e-05/0.4291, allocations: 38.52 kB / 0.8229 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.4291, allocations: 11.09 kB / 0.8229 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.4292, allocations: 103.7 kB / 0.823 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.4292, allocations: 0 / 0.823 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001948/0.4294, allocations: 25.97 kB / 0.823 GB, free: 2.434 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,numReq.y,pulse.T_start,pulse.count) * Number of discrete states: 2 (pulse.count,numReq.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0005235/0.4299, allocations: 0.7842 MB / 0.8238 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003845/0.4303, allocations: 252.9 kB / 0.824 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4303, allocations: 3.938 kB / 0.824 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.4305, allocations: 125.7 kB / 0.8241 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.4307, allocations: 18.02 kB / 0.8241 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.4326, allocations: 1.746 MB / 0.8259 GB, free: 16.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.4329, allocations: 0.6955 MB / 0.8265 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.644e-05/0.433, allocations: 8.172 kB / 0.8265 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.343e-05/0.433, allocations: 22.56 kB / 0.8266 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.433, allocations: 0 / 0.8266 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.4579, allocations: 3.027 MB / 0.8295 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.203/7.661, allocations: 6.969 kB / 0.8295 GB, free: 14.97 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_NumberOfRequests.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.038541893009096] Failed to read output from testmodel.py, exit status != 0: 7.726645429152995 7.749962398 7.3220362 Calling exit ...