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.001368/0.001368, 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.001494/0.001494, allocations: 210.7 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.467/1.467, allocations: 230.6 MB / 257.6 MB, free: 8.016 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.9632/0.9632, allocations: 150 MB / 464 MB, free: 10.53 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",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.002024/0.002024, allocations: 66.25 kB / 0.642 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1756, allocations: 89.17 MB / 0.7291 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001999/0.1776, allocations: 0.606 MB / 0.7297 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.1791, allocations: 1.143 MB / 0.7308 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.867e-05/0.1792, allocations: 4 kB / 0.7308 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.356e-05/0.1793, allocations: 3.938 kB / 0.7308 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.413e-05/0.1793, allocations: 7.938 kB / 0.7308 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.1798, allocations: 127.1 kB / 0.731 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.1799, allocations: 83.89 kB / 0.731 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.85e-05/0.18, allocations: 19.86 kB / 0.7311 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.971e-05/0.1801, allocations: 35.97 kB / 0.7311 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1802, allocations: 35.89 kB / 0.7311 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.1802, allocations: 8 kB / 0.7311 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.979e-05/0.1803, allocations: 27.92 kB / 0.7312 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.582e-05/0.1803, allocations: 0 / 0.7312 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.345e-05/0.1804, allocations: 35.91 kB / 0.7312 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1805, allocations: 87.72 kB / 0.7313 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.758e-05/0.1805, allocations: 4 kB / 0.7313 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.853e-06/0.1805, allocations: 0 / 0.7313 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.1806, allocations: 0 / 0.7313 GB, free: 15.11 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.0004877/0.181, allocations: 311.9 kB / 0.7316 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1811, allocations: 8.031 kB / 0.7316 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.336e-05/0.1811, allocations: 4.188 kB / 0.7316 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.218e-05/0.1811, allocations: 38.69 kB / 0.7316 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/0.1812, allocations: 8.891 kB / 0.7316 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.1813, allocations: 126.5 kB / 0.7318 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.1814, allocations: 384 / 0.7318 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.1814, allocations: 8.375 kB / 0.7318 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.1815, allocations: 57.94 kB / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1815, allocations: 4 kB / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.1815, allocations: 0 / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.1815, allocations: 0 / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.523e-05/0.1816, allocations: 15.98 kB / 0.7318 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003794/0.1819, allocations: 271.9 kB / 0.7321 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.045e-05/0.182, allocations: 22.52 kB / 0.7321 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.961e-05/0.182, allocations: 12.92 kB / 0.7321 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-06/0.182, allocations: 4 kB / 0.7321 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.1822, allocations: 55.39 kB / 0.7322 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.263e-06/0.1822, allocations: 4 kB / 0.7322 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001808/0.1823, allocations: 61.62 kB / 0.7323 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.1824, allocations: 51.41 kB / 0.7323 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.79e-05/0.1825, allocations: 109.8 kB / 0.7324 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.1825, allocations: 29.7 kB / 0.7324 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.1826, allocations: 96.08 kB / 0.7325 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.1826, allocations: 3.953 kB / 0.7325 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.028e-05/0.1827, allocations: 33.69 kB / 0.7326 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1828, allocations: 318.8 kB / 0.7329 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.765e-05/0.1829, allocations: 27.98 kB / 0.7329 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.319e-05/0.183, allocations: 46.56 kB / 0.7329 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.1831, allocations: 88.19 kB / 0.733 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1831, allocations: 0 / 0.733 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002769/0.1834, allocations: 143.3 kB / 0.7332 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.1834, allocations: 37.69 kB / 0.7332 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1834, allocations: 0 / 0.7332 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.1835, allocations: 4 kB / 0.7332 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.439e-05/0.1835, allocations: 0 / 0.7332 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.1835, allocations: 0 / 0.7332 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.1837, allocations: 39.95 kB / 0.7332 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.1837, allocations: 11.98 kB / 0.7332 GB, free: 12.86 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.0001099/0.1838, allocations: 121.7 kB / 0.7334 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.1838, allocations: 0 / 0.7334 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.1839, allocations: 8 kB / 0.7334 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1839, allocations: 0 / 0.7334 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1839, allocations: 0 / 0.7334 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1839, allocations: 8.219 kB / 0.7334 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.184, allocations: 136.6 kB / 0.7335 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.184, allocations: 320 / 0.7335 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.904e-06/0.184, allocations: 3.984 kB / 0.7335 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.184, allocations: 0 / 0.7335 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.184, allocations: 8 kB / 0.7335 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.184, allocations: 0 / 0.7335 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.184, allocations: 0 / 0.7335 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001123/0.1841, allocations: 81.05 kB / 0.7336 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.1842, allocations: 15.95 kB / 0.7336 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.1842, allocations: 0 / 0.7336 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.463e-05/0.1842, allocations: 0 / 0.7336 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.1842, allocations: 3.984 kB / 0.7336 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/0.1842, allocations: 7.938 kB / 0.7336 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.979e-05/0.1843, allocations: 83.28 kB / 0.7337 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1843, allocations: 3.938 kB / 0.7337 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002252/0.1845, allocations: 19.94 kB / 0.7337 GB, free: 12.29 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.0004502/0.1849, allocations: 0.6125 MB / 0.7343 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.1852, allocations: 111.3 kB / 0.7344 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1852, allocations: 0 / 0.7344 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.738e-05/0.1852, allocations: 11.98 kB / 0.7344 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.1854, allocations: 10.42 kB / 0.7345 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.187, allocations: 1.379 MB / 0.7358 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1873, allocations: 0.6807 MB / 0.7365 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.193e-05/0.1873, allocations: 4 kB / 0.7365 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.1874, allocations: 15.42 kB / 0.7365 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of SimCode: time 6.81e-07/0.1874, allocations: 3.938 kB / 0.7365 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.2106, allocations: 2.128 MB / 0.7386 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.41, allocations: 9.875 kB / 0.7386 GB, free: 7.324 MB / 0.5606 GB " [Timeout remaining time 648] (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 os._exit(0), Time elapsed: 15.176214092993177] Failed to read output from testmodel.py, exit status != 0: 11.577336114016362 11.601239045 11.417315612 Calling exit ...