Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.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.001372/0.001372, 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.001528/0.001528, 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.473/1.473, allocations: 230.6 MB / 257.6 MB, free: 7.977 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.9644/0.9644, allocations: 150 MB / 463.9 MB, free: 10.49 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.Latch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch",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.002848/0.002848, allocations: 59.38 kB / 0.642 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2089, allocations: 89.18 MB / 0.7291 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.001996/0.2108, allocations: 0.7499 MB / 0.7299 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.2126, allocations: 1.276 MB / 0.7311 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.2126, allocations: 4 kB / 0.7311 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.135e-05/0.2127, allocations: 19.8 kB / 0.7311 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.732e-05/0.2127, allocations: 15.86 kB / 0.7311 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006846/0.2134, allocations: 247.5 kB / 0.7314 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.2138, allocations: 263.5 kB / 0.7316 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.2139, allocations: 37.28 kB / 0.7317 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.214, allocations: 107.8 kB / 0.7318 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.2142, allocations: 103.7 kB / 0.7319 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.2142, allocations: 28 kB / 0.7319 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.427e-05/0.2143, allocations: 35.98 kB / 0.7319 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.122e-05/0.2144, allocations: 35.89 kB / 0.732 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.2145, allocations: 95.69 kB / 0.7321 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003059/0.2148, allocations: 247.4 kB / 0.7323 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2148, allocations: 0 / 0.7323 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2148, allocations: 0 / 0.7323 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2148, allocations: 0 / 0.7323 GB, free: 14.02 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006537/0.2155, allocations: 429.2 kB / 0.7327 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2155, allocations: 8.031 kB / 0.7327 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.562e-05/0.2155, allocations: 8.125 kB / 0.7327 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/0.2156, allocations: 46.73 kB / 0.7328 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.2156, allocations: 24.78 kB / 0.7328 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005091/0.2161, allocations: 182.5 kB / 0.733 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.436e-05/0.2161, allocations: 16.36 kB / 0.733 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.2162, allocations: 24.38 kB / 0.733 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.2164, allocations: 136.9 kB / 0.7331 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2165, allocations: 3.984 kB / 0.7331 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.2165, allocations: 8 kB / 0.7331 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2165, allocations: 0 / 0.7331 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001331/0.2166, allocations: 67.95 kB / 0.7332 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.2172, allocations: 423.3 kB / 0.7336 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.2174, allocations: 78.55 kB / 0.7337 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.073e-05/0.2174, allocations: 40.77 kB / 0.7337 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.2174, allocations: 0 / 0.7337 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002853/0.2177, allocations: 141.9 kB / 0.7339 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.2177, allocations: 0 / 0.7339 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.000442/0.2182, allocations: 245.4 kB / 0.7341 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.2182, allocations: 55.41 kB / 0.7341 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.2183, allocations: 136.8 kB / 0.7343 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.2184, allocations: 33.7 kB / 0.7343 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.841e-05/0.2185, allocations: 124.4 kB / 0.7344 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.2185, allocations: 27.8 kB / 0.7345 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.2186, allocations: 65.69 kB / 0.7345 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001907/0.2188, allocations: 322.8 kB / 0.7348 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000159/0.219, allocations: 71.95 kB / 0.7349 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.2192, allocations: 130.7 kB / 0.735 GB, free: 11 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.2194, allocations: 213.8 kB / 0.7352 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2194, allocations: 0 / 0.7352 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005319/0.22, allocations: 328.5 kB / 0.7355 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.189e-05/0.22, allocations: 63.39 kB / 0.7356 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2201, allocations: 4 kB / 0.7356 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2201, allocations: 0 / 0.7356 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.283e-05/0.2201, allocations: 19.92 kB / 0.7356 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2201, allocations: 0 / 0.7356 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000349/0.2205, allocations: 64.08 kB / 0.7357 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.212e-05/0.2205, allocations: 16 kB / 0.7357 GB, free: 10.24 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.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): 18 * 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 0.00014/0.2206, allocations: 138.3 kB / 0.7358 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.2206, allocations: 7.953 kB / 0.7358 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.2207, allocations: 12.78 kB / 0.7358 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2207, allocations: 0 / 0.7358 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.2207, allocations: 7.922 kB / 0.7358 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.2207, allocations: 8 kB / 0.7359 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005228/0.2212, allocations: 457.4 kB / 0.7363 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2212, allocations: 0 / 0.7363 GB, free: 9.562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.602e-05/0.2212, allocations: 7.922 kB / 0.7363 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2212, allocations: 4 kB / 0.7363 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.2213, allocations: 4 kB / 0.7363 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2213, allocations: 4 kB / 0.7363 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2213, allocations: 0 / 0.7363 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.2216, allocations: 302.2 kB / 0.7366 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.2216, allocations: 7.953 kB / 0.7366 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.2216, allocations: 8 kB / 0.7366 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-05/0.2217, allocations: 3.984 kB / 0.7366 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.874e-05/0.2217, allocations: 7.984 kB / 0.7366 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.2218, allocations: 15.98 kB / 0.7366 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.168e-05/0.2218, allocations: 95.27 kB / 0.7367 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2218, allocations: 0 / 0.7367 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000316/0.2222, allocations: 51.83 kB / 0.7368 GB, free: 9.047 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: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.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): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0007145/0.2229, allocations: 0.8334 MB / 0.7376 GB, free: 8.188 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004357/0.2233, allocations: 270.9 kB / 0.7379 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2233, allocations: 4.125 kB / 0.7379 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.696e-05/0.2234, allocations: 55.91 kB / 0.7379 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.2237, allocations: 33.16 kB / 0.7379 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/0.2262, allocations: 2.045 MB / 0.7399 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.2266, allocations: 0.7124 MB / 0.7406 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.174e-05/0.2267, allocations: 9.094 kB / 0.7406 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.166e-05/0.2267, allocations: 35.42 kB / 0.7407 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.2267, allocations: 0 / 0.7407 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02528/0.252, allocations: 3.827 MB / 0.7444 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.45, allocations: 9 kB / 0.7444 GB, free: 1.176 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Logical_Validation_Latch.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.263999274990056] Failed to read output from testmodel.py, exit status != 0: 11.625078252982348 11.643508742 11.425197 Calling exit ...