Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.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.001321/0.001321, allocations: 97.11 kB / 19.73 MB, free: 1.871 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.001465/0.001465, allocations: 204.6 kB / 23.04 MB, free: 5.008 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.727 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.008/1.008, allocations: 150 MB / 463.2 MB, free: 10.21 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.Logical.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change",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.002213/0.002213, allocations: 70.69 kB / 0.6413 GB, free: 9.859 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2122, allocations: 89.17 MB / 0.7284 GB, free: 0.7617 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Change): time 0.001963/0.2142, allocations: 0.7205 MB / 0.7291 GB, free: 40 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.2159, allocations: 1.17 MB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.519e-05/0.2159, allocations: 0 / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.216, allocations: 3.938 kB / 0.7302 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.489e-05/0.2161, allocations: 11.92 kB / 0.7302 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005243/0.2166, allocations: 141.1 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002077/0.2168, allocations: 115.8 kB / 0.7305 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.867e-05/0.2169, allocations: 11.94 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.236e-05/0.217, allocations: 47.89 kB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.977e-05/0.2171, allocations: 43.81 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.2171, allocations: 8 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.724e-05/0.2172, allocations: 16 kB / 0.7306 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.2172, allocations: 27.91 kB / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.832e-05/0.2173, allocations: 31.92 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.2175, allocations: 115.9 kB / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.2175, allocations: 0 / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.375e-06/0.2175, allocations: 0 / 0.7308 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2175, allocations: 0 / 0.7308 GB, free: 14.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006192/0.2181, allocations: 335.8 kB / 0.7311 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2181, allocations: 12.03 kB / 0.7311 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.2182, allocations: 30.75 kB / 0.7311 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.21e-05/0.2182, allocations: 8.891 kB / 0.7311 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.2183, allocations: 130.3 kB / 0.7313 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.2183, allocations: 8.375 kB / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.2184, allocations: 8.375 kB / 0.7313 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/0.2186, allocations: 62.22 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2186, allocations: 3.938 kB / 0.7313 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2186, allocations: 4 kB / 0.7313 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.2186, allocations: 0 / 0.7313 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.2188, allocations: 43.95 kB / 0.7314 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/0.2193, allocations: 275.8 kB / 0.7316 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.2195, allocations: 58.61 kB / 0.7317 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.2196, allocations: 32.95 kB / 0.7317 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.2196, allocations: 0 / 0.7317 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002545/0.2198, allocations: 99.27 kB / 0.7318 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 3.566e-06/0.2199, allocations: 7.938 kB / 0.7318 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004477/0.2203, allocations: 141.6 kB / 0.732 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.2203, allocations: 51.41 kB / 0.732 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.2205, allocations: 121.8 kB / 0.7321 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.2205, allocations: 37.69 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.539e-05/0.2205, allocations: 88.14 kB / 0.7323 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.2206, allocations: 11.91 kB / 0.7323 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.003e-05/0.2207, allocations: 37.69 kB / 0.7323 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.2208, allocations: 322.8 kB / 0.7326 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.221, allocations: 89.59 kB / 0.7327 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.2212, allocations: 118 kB / 0.7328 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.2216, allocations: 138.2 kB / 0.7329 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.2216, allocations: 3.984 kB / 0.7329 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005028/0.2221, allocations: 248.8 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.297e-05/0.2221, allocations: 37.7 kB / 0.7332 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2221, allocations: 0 / 0.7332 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.2221, allocations: 4 kB / 0.7332 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.999e-05/0.2222, allocations: 11.98 kB / 0.7332 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2222, allocations: 0 / 0.7332 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.2225, allocations: 43.97 kB / 0.7333 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.2225, allocations: 12 kB / 0.7333 GB, free: 11.44 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001458/0.2226, allocations: 131.4 kB / 0.7334 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.2227, allocations: 3.953 kB / 0.7334 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.2227, allocations: 12.38 kB / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2227, allocations: 0 / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.2227, allocations: 4.062 kB / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2227, allocations: 0 / 0.7334 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.2233, allocations: 341.6 kB / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2233, allocations: 3.938 kB / 0.7338 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.2233, allocations: 11.92 kB / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2233, allocations: 0 / 0.7338 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.2233, allocations: 4 kB / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2233, allocations: 0 / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.2233, allocations: 3.984 kB / 0.7338 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.2237, allocations: 215.4 kB / 0.734 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.2237, allocations: 7.938 kB / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.2237, allocations: 0 / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.249e-05/0.2238, allocations: 8 kB / 0.734 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.2239, allocations: 11.92 kB / 0.734 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.2239, allocations: 4 kB / 0.734 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.57e-05/0.2239, allocations: 94.55 kB / 0.7341 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2239, allocations: 3.938 kB / 0.7341 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002797/0.2242, allocations: 27.94 kB / 0.7341 GB, free: 10.5 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0007696/0.225, allocations: 0.7475 MB / 0.7349 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004693/0.2255, allocations: 193 kB / 0.735 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2255, allocations: 0 / 0.735 GB, free: 9.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.2256, allocations: 35.91 kB / 0.7351 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.2259, allocations: 24.17 kB / 0.7351 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.2284, allocations: 1.802 MB / 0.7369 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.122e-05/0.2284, allocations: 75.33 kB / 0.7369 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.734e-05/0.2285, allocations: 11.84 kB / 0.7369 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.2285, allocations: 19.44 kB / 0.737 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of SimCode: time 4.01e-07/0.2285, allocations: 0 / 0.737 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.26, allocations: 3.213 MB / 0.7401 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.15, allocations: 6.5 kB / 0.7401 GB, free: 4.34 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Change.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.949133276939392] Failed to read output from testmodel.py, exit status != 0: 11.264293268090114 11.279975291 11.059245369 Calling exit ...