Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.001891/0.001891, allocations: 109 kB / 20.48 MB, free: 1.473 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.002398/0.002398, allocations: 211.5 kB / 23.79 MB, free: 4.684 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.518/1.518, allocations: 230.6 MB / 257.6 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.007/1.007, allocations: 150 MB / 464 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.003104/0.003104, allocations: 65.7 kB / 0.642 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2048, allocations: 89.17 MB / 0.7291 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002423/0.2072, allocations: 0.9525 MB / 0.7301 GB, free: 300 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.2096, allocations: 1.475 MB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.815e-05/0.2096, allocations: 4 kB / 0.7315 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.417e-05/0.2097, allocations: 15.75 kB / 0.7315 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001591/0.2099, allocations: 63.55 kB / 0.7316 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.211, allocations: 440.8 kB / 0.732 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005671/0.2115, allocations: 495.1 kB / 0.7325 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.2116, allocations: 29.95 kB / 0.7325 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.2119, allocations: 191.6 kB / 0.7327 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.2122, allocations: 167.4 kB / 0.7328 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.275e-05/0.2122, allocations: 48 kB / 0.7329 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.2124, allocations: 67.98 kB / 0.7329 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.958e-05/0.2124, allocations: 31.86 kB / 0.733 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.2126, allocations: 167.4 kB / 0.7331 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005317/0.2131, allocations: 0.4948 MB / 0.7336 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2131, allocations: 4 kB / 0.7336 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2131, allocations: 0 / 0.7336 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.2131, allocations: 0 / 0.7336 GB, free: 12.64 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008652/0.214, allocations: 0.5663 MB / 0.7342 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.214, allocations: 15.97 kB / 0.7342 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.947e-05/0.2141, allocations: 192 / 0.7342 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.397e-05/0.2141, allocations: 38.75 kB / 0.7342 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.396e-05/0.2142, allocations: 24.84 kB / 0.7343 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.2144, allocations: 177.2 kB / 0.7344 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.2144, allocations: 20.38 kB / 0.7344 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.799e-05/0.2145, allocations: 20.38 kB / 0.7345 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.2147, allocations: 129.3 kB / 0.7346 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2147, allocations: 0 / 0.7346 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/0.2147, allocations: 3.984 kB / 0.7346 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.2148, allocations: 4 kB / 0.7346 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.2149, allocations: 55.92 kB / 0.7346 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.216, allocations: 0.8474 MB / 0.7355 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.2162, allocations: 114.4 kB / 0.7356 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.937e-05/0.2163, allocations: 51.48 kB / 0.7356 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.2163, allocations: 3.938 kB / 0.7356 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003299/0.2166, allocations: 173.8 kB / 0.7358 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.263e-06/0.2166, allocations: 0 / 0.7358 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.0004708/0.2171, allocations: 222.1 kB / 0.736 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.2172, allocations: 144.4 kB / 0.7361 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.2175, allocations: 248.8 kB / 0.7364 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.33e-05/0.2175, allocations: 37.7 kB / 0.7364 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.2177, allocations: 132.5 kB / 0.7365 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/0.2177, allocations: 35.8 kB / 0.7366 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.2179, allocations: 85.66 kB / 0.7367 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2181, allocations: 330.8 kB / 0.737 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.2184, allocations: 144.2 kB / 0.7371 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.2187, allocations: 232 kB / 0.7373 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/0.2192, allocations: 368.9 kB / 0.7377 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2192, allocations: 0 / 0.7377 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000986/0.2202, allocations: 0.5663 MB / 0.7382 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.2203, allocations: 138.8 kB / 0.7384 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.2203, allocations: 4.281 kB / 0.7384 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.2204, allocations: 4 kB / 0.7384 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.165e-05/0.2204, allocations: 15.92 kB / 0.7384 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.2204, allocations: 7.938 kB / 0.7384 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006583/0.2211, allocations: 112 kB / 0.7385 GB, free: 7.164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-05/0.2212, allocations: 23.98 kB / 0.7385 GB, free: 7.141 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0002067/0.2214, allocations: 158.3 kB / 0.7387 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.2214, allocations: 23.86 kB / 0.7387 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.2215, allocations: 25.33 kB / 0.7387 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2215, allocations: 0 / 0.7387 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.2215, allocations: 7.938 kB / 0.7387 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.2215, allocations: 0 / 0.7387 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002801/0.2218, allocations: 228.6 kB / 0.739 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2218, allocations: 0 / 0.739 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.2218, allocations: 8 kB / 0.739 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.426e-06/0.2218, allocations: 7.984 kB / 0.739 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.2218, allocations: 0 / 0.739 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.2218, allocations: 11.88 kB / 0.739 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/0.2218, allocations: 11.94 kB / 0.739 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.2222, allocations: 219.5 kB / 0.7392 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-05/0.2222, allocations: 15.86 kB / 0.7392 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.2222, allocations: 8 kB / 0.7392 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.197e-05/0.2223, allocations: 3.984 kB / 0.7392 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.2223, allocations: 23.92 kB / 0.7393 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.2224, allocations: 11.92 kB / 0.7393 GB, free: 6.305 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001603/0.2225, allocations: 168.5 kB / 0.7394 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2225, allocations: 0 / 0.7394 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000344/0.2229, allocations: 67.98 kB / 0.7395 GB, free: 6.074 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006997/0.2236, allocations: 0.7599 MB / 0.7402 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007468/0.2243, allocations: 481.4 kB / 0.7407 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2243, allocations: 4.5 kB / 0.7407 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.2244, allocations: 63.91 kB / 0.7408 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.2249, allocations: 61 kB / 0.7408 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.2292, allocations: 3.034 MB / 0.7438 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.2296, allocations: 0.7281 MB / 0.7445 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.574e-05/0.2297, allocations: 21.64 kB / 0.7445 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.519e-05/0.2298, allocations: 55.41 kB / 0.7446 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of SimCode: time 1.082e-06/0.2298, allocations: 0 / 0.7446 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03091/0.2607, allocations: 6.612 MB / 0.751 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.66, allocations: 7.484 kB / 0.751 GB, free: 10.17 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.974600611021742] Failed to read output from testmodel.py, exit status != 0: 11.822255292965565 12.18800865 11.970922365 Calling exit ...