Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.001301/0.001301, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.00146/0.00146, allocations: 212.2 kB / 22.99 MB, free: 4.605 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9874/0.9874, allocations: 149.9 MB / 463.1 MB, free: 10.36 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.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",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.002205/0.002205, allocations: 67.28 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1822, allocations: 89.18 MB / 0.7282 GB, free: 1.027 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001996/0.1842, allocations: 0.6026 MB / 0.7287 GB, free: 436 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.1859, allocations: 1.128 MB / 0.7298 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.987e-05/0.1859, allocations: 4 kB / 0.7298 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/0.1861, allocations: 7.922 kB / 0.7299 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.062e-05/0.1861, allocations: 11.98 kB / 0.7299 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.1866, allocations: 122.7 kB / 0.73 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000196/0.1868, allocations: 83.83 kB / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.187, allocations: 11.94 kB / 0.7301 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.456e-05/0.187, allocations: 39.89 kB / 0.7301 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1871, allocations: 23.97 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.1872, allocations: 12 kB / 0.7301 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.392e-05/0.1873, allocations: 19.98 kB / 0.7302 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.002e-05/0.1873, allocations: 11.94 kB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.58e-05/0.1874, allocations: 35.89 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1876, allocations: 83.78 kB / 0.7303 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1876, allocations: 0 / 0.7303 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.384e-06/0.1876, allocations: 0 / 0.7303 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.1876, allocations: 0 / 0.7303 GB, free: 14.83 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005585/0.1882, allocations: 307.9 kB / 0.7306 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.1882, allocations: 8.031 kB / 0.7306 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.825e-05/0.1883, allocations: 34.69 kB / 0.7306 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.957e-05/0.1883, allocations: 12.89 kB / 0.7306 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/0.1886, allocations: 126.5 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1886, allocations: 4.375 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.1886, allocations: 4.375 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.1887, allocations: 46.19 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1888, allocations: 7.938 kB / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.1888, allocations: 8 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1888, allocations: 0 / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.794e-05/0.1888, allocations: 7.984 kB / 0.7308 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.1893, allocations: 263.9 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.84e-05/0.1893, allocations: 26.58 kB / 0.7311 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.744e-05/0.1893, allocations: 4.859 kB / 0.7311 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-06/0.1893, allocations: 4 kB / 0.7311 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.1895, allocations: 67.33 kB / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.1895, allocations: 0 / 0.7312 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001989/0.1897, allocations: 61.69 kB / 0.7312 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.1898, allocations: 51.41 kB / 0.7313 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.1899, allocations: 109.8 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.1899, allocations: 29.7 kB / 0.7314 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.846e-05/0.19, allocations: 92.12 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.19, allocations: 11.94 kB / 0.7315 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-05/0.1901, allocations: 29.7 kB / 0.7316 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.1902, allocations: 318.8 kB / 0.7319 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/0.1903, allocations: 65.67 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.1904, allocations: 76.39 kB / 0.732 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1905, allocations: 80.3 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1905, allocations: 4 kB / 0.7321 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002716/0.1908, allocations: 177 kB / 0.7322 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.1909, allocations: 37.8 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1909, allocations: 0 / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1909, allocations: 0 / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.013e-05/0.1909, allocations: 3.938 kB / 0.7323 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1909, allocations: 4 kB / 0.7323 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.1911, allocations: 35.86 kB / 0.7323 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.014e-05/0.1911, allocations: 7.984 kB / 0.7323 GB, free: 12.48 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 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * 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.0001047/0.1912, allocations: 113.8 kB / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.1912, allocations: 4 kB / 0.7324 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.1913, allocations: 12 kB / 0.7324 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1913, allocations: 0 / 0.7324 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1913, allocations: 3.984 kB / 0.7325 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.1913, allocations: 4 kB / 0.7325 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.1914, allocations: 132.7 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1914, allocations: 0 / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-06/0.1914, allocations: 320 / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.1914, allocations: 0 / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.1914, allocations: 4 kB / 0.7326 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1914, allocations: 3.938 kB / 0.7326 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1914, allocations: 0 / 0.7326 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.1915, allocations: 96.92 kB / 0.7327 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.1916, allocations: 7.953 kB / 0.7327 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.1916, allocations: 0 / 0.7327 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.611e-05/0.1916, allocations: 4 kB / 0.7327 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.1916, allocations: 0 / 0.7327 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.1916, allocations: 4 kB / 0.7327 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.879e-05/0.1917, allocations: 83.27 kB / 0.7328 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1917, allocations: 0 / 0.7328 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000209/0.1919, allocations: 20 kB / 0.7328 GB, free: 11.92 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,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0004789/0.1924, allocations: 0.6202 MB / 0.7334 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.1926, allocations: 133.1 kB / 0.7335 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1926, allocations: 0 / 0.7335 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-05/0.1926, allocations: 15.92 kB / 0.7335 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.1928, allocations: 4 kB / 0.7335 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.1946, allocations: 1.493 MB / 0.735 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.339e-05/0.1946, allocations: 71.33 kB / 0.7351 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.969e-05/0.1947, allocations: 4.188 kB / 0.7351 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.1947, allocations: 19.42 kB / 0.7351 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of SimCode: time 4.41e-07/0.1947, allocations: 0 / 0.7351 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.2248, allocations: 2.62 MB / 0.7377 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.26, allocations: 0 / 0.7377 GB, free: 6.914 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.164623233955353] Failed to read output from testmodel.py, exit status != 0: 11.37575255613774 11.403716986 11.210859302 Calling exit ...