Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.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.00178/0.00178, allocations: 105.2 kB / 19.74 MB, free: 2.012 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.001597/0.001597, allocations: 211.7 kB / 23.03 MB, free: 4.883 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.781 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 0.9721/0.9721, allocations: 150 MB / 463.2 MB, free: 10.22 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.Reals.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",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.002055/0.002055, allocations: 69.02 kB / 0.6413 GB, free: 9.836 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2046/0.2067, allocations: 89.17 MB / 0.7284 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001984/0.2086, allocations: 0.6855 MB / 0.7291 GB, free: 64 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.2103, allocations: 1.155 MB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.024e-05/0.2103, allocations: 0 / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.763e-05/0.2103, allocations: 3.938 kB / 0.7302 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.816e-05/0.2104, allocations: 15.88 kB / 0.7302 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004897/0.2109, allocations: 130.3 kB / 0.7303 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.2111, allocations: 123.8 kB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.003e-05/0.2112, allocations: 8 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.81e-05/0.2112, allocations: 55.84 kB / 0.7305 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.783e-05/0.2113, allocations: 39.81 kB / 0.7305 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.2114, allocations: 12 kB / 0.7306 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.335e-05/0.2114, allocations: 20 kB / 0.7306 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.2115, allocations: 11.98 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.253e-05/0.2115, allocations: 35.86 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.2117, allocations: 135.8 kB / 0.7308 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2117, allocations: 4 kB / 0.7308 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2117, allocations: 0 / 0.7308 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.2117, allocations: 0 / 0.7308 GB, free: 14.31 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000494/0.2122, allocations: 323.8 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.2123, allocations: 8.031 kB / 0.7311 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.476e-05/0.2123, allocations: 34.73 kB / 0.7311 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.2124, allocations: 12.89 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.2125, allocations: 133.6 kB / 0.7312 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.2125, allocations: 4.375 kB / 0.7313 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.2125, allocations: 4.375 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.2126, allocations: 42.25 kB / 0.7313 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.2126, allocations: 3.938 kB / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.2126, allocations: 0 / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2126, allocations: 0 / 0.7313 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.541e-05/0.2127, allocations: 23.97 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000519/0.2132, allocations: 287.8 kB / 0.7316 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 6.562e-05/0.2133, allocations: 22.58 kB / 0.7316 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/0.2133, allocations: 8.922 kB / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/0.2133, allocations: 0 / 0.7316 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.2135, allocations: 71.39 kB / 0.7317 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2135, allocations: 0 / 0.7317 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0002757/0.2137, allocations: 81.56 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.2138, allocations: 51.41 kB / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.2139, allocations: 133.8 kB / 0.7319 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.2139, allocations: 25.7 kB / 0.732 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.214, allocations: 92.09 kB / 0.7321 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.214, allocations: 7.953 kB / 0.7321 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.745e-05/0.2141, allocations: 33.7 kB / 0.7321 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.2143, allocations: 318.8 kB / 0.7324 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.2144, allocations: 69.69 kB / 0.7325 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.2145, allocations: 88.25 kB / 0.7326 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.2146, allocations: 92.2 kB / 0.7326 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2146, allocations: 4 kB / 0.7326 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003053/0.215, allocations: 197 kB / 0.7328 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.362e-05/0.215, allocations: 41.69 kB / 0.7329 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.215, allocations: 0 / 0.7329 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.215, allocations: 4 kB / 0.7329 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.829e-05/0.2151, allocations: 3.938 kB / 0.7329 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2151, allocations: 4 kB / 0.7329 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.2153, allocations: 23.97 kB / 0.7329 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.2153, allocations: 4.062 kB / 0.7329 GB, free: 11.85 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.000106/0.2154, allocations: 133.6 kB / 0.733 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.638e-05/0.2154, allocations: 7.953 kB / 0.733 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.435e-05/0.2154, allocations: 8 kB / 0.7331 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.2154, allocations: 4 kB / 0.7331 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.2154, allocations: 0 / 0.7331 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.2154, allocations: 0 / 0.7331 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.2156, allocations: 144.7 kB / 0.7332 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2156, allocations: 0 / 0.7332 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.404e-05/0.2156, allocations: 4 kB / 0.7332 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2156, allocations: 0 / 0.7332 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.2156, allocations: 4 kB / 0.7332 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2156, allocations: 0 / 0.7332 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2156, allocations: 8.062 kB / 0.7332 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.2157, allocations: 92.98 kB / 0.7333 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.195e-05/0.2157, allocations: 7.953 kB / 0.7333 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.2157, allocations: 0 / 0.7333 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.819e-05/0.2158, allocations: 0 / 0.7333 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.2158, allocations: 7.984 kB / 0.7333 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.2158, allocations: 0 / 0.7333 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001374/0.2159, allocations: 99.27 kB / 0.7334 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2159, allocations: 0 / 0.7334 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002145/0.2162, allocations: 23.94 kB / 0.7334 GB, free: 11.23 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000534/0.2167, allocations: 0.6353 MB / 0.7341 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003366/0.217, allocations: 157 kB / 0.7342 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.217, allocations: 0 / 0.7342 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.12e-05/0.2171, allocations: 15.98 kB / 0.7342 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.2174, allocations: 16.27 kB / 0.7342 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.2202, allocations: 1.641 MB / 0.7358 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.011e-05/0.2203, allocations: 71.23 kB / 0.7359 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.829e-05/0.2204, allocations: 4 kB / 0.7359 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/0.2204, allocations: 15.44 kB / 0.7359 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of SimCode: time 6.11e-07/0.2204, allocations: 0 / 0.7359 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03683/0.2573, allocations: 3.016 MB / 0.7389 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.47, allocations: 9.391 kB / 0.7389 GB, free: 5.648 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.259425417054445] Failed to read output from testmodel.py, exit status != 0: 11.584431059891358 11.614403373 11.397444914 Calling exit ...