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.001384/0.001384, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001483/0.001483, allocations: 215.7 kB / 23.78 MB, free: 4.555 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.545/1.545, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.004/1.004, allocations: 150 MB / 463.9 MB, free: 10.68 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.002225/0.002225, allocations: 62 kB / 0.642 GB, free: 10.02 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1924, allocations: 89.17 MB / 0.729 GB, free: 0.918 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002888/0.1953, allocations: 0.9047 MB / 0.7299 GB, free: 16 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002782/0.1981, allocations: 1.455 MB / 0.7314 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.1982, allocations: 0 / 0.7314 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.467e-05/0.1983, allocations: 15.75 kB / 0.7314 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.1986, allocations: 67.56 kB / 0.7314 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.2, allocations: 443.4 kB / 0.7319 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007331/0.2007, allocations: 487.1 kB / 0.7323 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.2009, allocations: 29.95 kB / 0.7323 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003205/0.2012, allocations: 191.6 kB / 0.7325 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.2016, allocations: 167.4 kB / 0.7327 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.2017, allocations: 52 kB / 0.7327 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.2019, allocations: 63.98 kB / 0.7328 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.2019, allocations: 31.92 kB / 0.7328 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002403/0.2022, allocations: 155.5 kB / 0.733 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006738/0.2028, allocations: 0.4909 MB / 0.7335 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.2028, allocations: 0 / 0.7335 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2029, allocations: 0 / 0.7335 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.577e-05/0.2029, allocations: 0 / 0.7335 GB, free: 12.4 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.001228/0.2041, allocations: 0.5702 MB / 0.734 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.2042, allocations: 12.03 kB / 0.734 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.016e-05/0.2042, allocations: 4.188 kB / 0.734 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.268e-05/0.2043, allocations: 42.73 kB / 0.7341 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.2044, allocations: 24.84 kB / 0.7341 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.2046, allocations: 169.2 kB / 0.7343 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.2046, allocations: 16.38 kB / 0.7343 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.075e-05/0.2047, allocations: 28.36 kB / 0.7343 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.205, allocations: 121.3 kB / 0.7344 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.205, allocations: 4 kB / 0.7344 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.205, allocations: 4 kB / 0.7344 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.205, allocations: 4 kB / 0.7344 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.2051, allocations: 63.89 kB / 0.7345 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.2062, allocations: 0.7461 MB / 0.7352 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.2064, allocations: 118.4 kB / 0.7353 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.03e-05/0.2065, allocations: 43.5 kB / 0.7354 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.712e-05/0.2065, allocations: 7.938 kB / 0.7354 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003871/0.2069, allocations: 184.6 kB / 0.7356 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.625e-06/0.2069, allocations: 0 / 0.7356 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.0005363/0.2074, allocations: 225.4 kB / 0.7358 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.2076, allocations: 136.5 kB / 0.7359 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003114/0.2079, allocations: 252.7 kB / 0.7361 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.808e-05/0.2079, allocations: 41.69 kB / 0.7362 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.2081, allocations: 124.5 kB / 0.7363 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.2081, allocations: 35.8 kB / 0.7363 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.2083, allocations: 89.64 kB / 0.7364 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2085, allocations: 334.8 kB / 0.7367 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004281/0.2089, allocations: 271 kB / 0.737 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004794/0.2094, allocations: 353.5 kB / 0.7373 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005014/0.2099, allocations: 372.9 kB / 0.7377 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.2099, allocations: 0 / 0.7377 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001194/0.2111, allocations: 0.6902 MB / 0.7384 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.2112, allocations: 137 kB / 0.7385 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.2112, allocations: 4 kB / 0.7385 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.2113, allocations: 4 kB / 0.7385 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.568e-05/0.2114, allocations: 15.92 kB / 0.7385 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.2114, allocations: 7.938 kB / 0.7385 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006923/0.2121, allocations: 112 kB / 0.7386 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.746e-05/0.2121, allocations: 27.98 kB / 0.7387 GB, free: 6.539 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.0002275/0.2124, allocations: 150.3 kB / 0.7388 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.2124, allocations: 23.86 kB / 0.7388 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.239e-05/0.2125, allocations: 25.33 kB / 0.7388 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2125, allocations: 4 kB / 0.7389 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.2125, allocations: 3.938 kB / 0.7389 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.2125, allocations: 4 kB / 0.7389 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.2128, allocations: 204.7 kB / 0.7391 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.2128, allocations: 7.938 kB / 0.7391 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.409e-05/0.2129, allocations: 16.86 kB / 0.7391 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.2129, allocations: 0 / 0.7391 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.2129, allocations: 4 kB / 0.7391 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.2129, allocations: 3.938 kB / 0.7391 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.2129, allocations: 11.94 kB / 0.7391 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.2132, allocations: 219.5 kB / 0.7393 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.248e-05/0.2133, allocations: 19.86 kB / 0.7393 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.877e-05/0.2133, allocations: 11.98 kB / 0.7393 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.01e-05/0.2134, allocations: 7.984 kB / 0.7393 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.2135, allocations: 23.84 kB / 0.7394 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.2135, allocations: 12 kB / 0.7394 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001883/0.2137, allocations: 164.5 kB / 0.7395 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2137, allocations: 0 / 0.7395 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003798/0.214, allocations: 64 kB / 0.7396 GB, free: 5.492 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.0007695/0.2148, allocations: 0.7737 MB / 0.7404 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009717/0.2158, allocations: 0.5978 MB / 0.7409 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2158, allocations: 0 / 0.7409 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.2159, allocations: 59.91 kB / 0.741 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.2164, allocations: 68.75 kB / 0.7411 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005362/0.2218, allocations: 3.54 MB / 0.7445 GB, free: 56 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.2219, allocations: 120.9 kB / 0.7446 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.431e-05/0.222, allocations: 17.64 kB / 0.7446 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.2221, allocations: 55.41 kB / 0.7447 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of SimCode: time 1.152e-06/0.2221, allocations: 4 kB / 0.7447 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03191/0.254, allocations: 7.055 MB / 0.7516 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/11.92, allocations: 17.77 kB / 0.7516 GB, free: 9.031 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: 16.23468396998942] Failed to read output from testmodel.py, exit status != 0: 12.095618588966317 12.391591665 12.18565118 Calling exit ...