Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.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.001294/0.001294, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00155/0.00155, allocations: 217.8 kB / 23.05 MB, free: 5.074 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9341/0.9341, allocations: 145 MB / 458.2 MB, free: 15.55 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002428/0.002428, allocations: 74.38 kB / 0.6339 GB, free: 7.309 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.2, allocations: 87.88 MB / 0.7198 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003342/0.2033, allocations: 1.814 MB / 0.7215 GB, free: 13.61 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002056/0.2054, allocations: 1.202 MB / 0.7227 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.2055, allocations: 7.938 kB / 0.7227 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006482/0.2061, allocations: 167.5 kB / 0.7229 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003904/0.2065, allocations: 159.5 kB / 0.723 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003746/0.2069, allocations: 138.3 kB / 0.7232 GB, free: 11.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002418/0.2071, allocations: 179.5 kB / 0.7233 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.2072, allocations: 13.31 kB / 0.7234 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001235/0.2074, allocations: 75.73 kB / 0.7234 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.2075, allocations: 79.67 kB / 0.7235 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.2075, allocations: 12 kB / 0.7235 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.2077, allocations: 75.88 kB / 0.7236 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.58e-05/0.2077, allocations: 43.84 kB / 0.7236 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.81e-05/0.2078, allocations: 63.61 kB / 0.7237 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.2081, allocations: 203.1 kB / 0.7239 GB, free: 11.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2081, allocations: 0 / 0.7239 GB, free: 11.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2081, allocations: 0 / 0.7239 GB, free: 11.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.2081, allocations: 0 / 0.7239 GB, free: 11.2 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007339/0.2089, allocations: 438.8 kB / 0.7243 GB, free: 10.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2089, allocations: 12.03 kB / 0.7243 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.389e-05/0.2089, allocations: 192 / 0.7243 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.209, allocations: 38.75 kB / 0.7243 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.843e-05/0.209, allocations: 16.84 kB / 0.7244 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.2093, allocations: 202.1 kB / 0.7246 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.2093, allocations: 4.125 kB / 0.7246 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.502e-05/0.2094, allocations: 4 kB / 0.7246 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001988/0.2096, allocations: 95.36 kB / 0.7247 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2096, allocations: 0 / 0.7247 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.2096, allocations: 4 kB / 0.7247 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.2096, allocations: 0 / 0.7247 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.2097, allocations: 39.91 kB / 0.7247 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005156/0.2102, allocations: 327.7 kB / 0.725 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.2104, allocations: 74.61 kB / 0.7251 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.283e-05/0.2105, allocations: 32.84 kB / 0.7251 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.2105, allocations: 0 / 0.7251 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.2107, allocations: 87.31 kB / 0.7252 GB, free: 9.703 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.443e-06/0.2107, allocations: 0 / 0.7252 GB, free: 9.703 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003794/0.2111, allocations: 145.5 kB / 0.7253 GB, free: 9.555 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.2111, allocations: 81.11 kB / 0.7254 GB, free: 9.457 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003359/0.2115, allocations: 283 kB / 0.7257 GB, free: 9.172 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.2115, allocations: 29.7 kB / 0.7257 GB, free: 9.137 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.2116, allocations: 120.1 kB / 0.7258 GB, free: 9.016 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.2116, allocations: 19.8 kB / 0.7258 GB, free: 8.996 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/0.2117, allocations: 29.7 kB / 0.7259 GB, free: 8.961 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.2119, allocations: 330.8 kB / 0.7262 GB, free: 8.629 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/0.212, allocations: 23.98 kB / 0.7262 GB, free: 8.605 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.875e-05/0.2121, allocations: 71.34 kB / 0.7263 GB, free: 8.523 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.2122, allocations: 65.7 kB / 0.7263 GB, free: 8.453 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2122, allocations: 4 kB / 0.7263 GB, free: 8.449 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002275/0.2124, allocations: 113.9 kB / 0.7265 GB, free: 8.332 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.2124, allocations: 4 kB / 0.7265 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2124, allocations: 8.062 kB / 0.7265 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.2125, allocations: 0 / 0.7265 GB, free: 8.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.2125, allocations: 15.94 kB / 0.7265 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.2126, allocations: 7.875 kB / 0.7265 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.602e-05/0.2126, allocations: 11.94 kB / 0.7265 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.2126, allocations: 4 kB / 0.7265 GB, free: 8.281 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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.0001831/0.2128, allocations: 138.6 kB / 0.7266 GB, free: 8.137 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.2128, allocations: 15.91 kB / 0.7266 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.2131, allocations: 131.1 kB / 0.7268 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.2131, allocations: 7.938 kB / 0.7268 GB, free: 7.973 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.2131, allocations: 7.922 kB / 0.7268 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2131, allocations: 0 / 0.7268 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.2134, allocations: 196.6 kB / 0.727 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.2134, allocations: 4 kB / 0.727 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.319e-05/0.2134, allocations: 4 kB / 0.727 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2134, allocations: 0 / 0.727 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.2134, allocations: 0 / 0.727 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2134, allocations: 0 / 0.727 GB, free: 7.723 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.2134, allocations: 11.92 kB / 0.727 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.2137, allocations: 141 kB / 0.7271 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.2137, allocations: 23.84 kB / 0.7272 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.2137, allocations: 7.984 kB / 0.7272 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.624e-05/0.2138, allocations: 0 / 0.7272 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.2138, allocations: 15.92 kB / 0.7272 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.2139, allocations: 4 kB / 0.7272 GB, free: 7.504 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002234/0.2141, allocations: 204.6 kB / 0.7274 GB, free: 7.305 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2141, allocations: 0 / 0.7274 GB, free: 7.305 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002747/0.2144, allocations: 39.88 kB / 0.7274 GB, free: 7.266 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * 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.002123/0.2165, allocations: 0.9922 MB / 0.7284 GB, free: 6.406 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002655/0.2167, allocations: 75.91 kB / 0.7285 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2167, allocations: 0 / 0.7285 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.374e-05/0.2168, allocations: 31.98 kB / 0.7285 GB, free: 6.301 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.2171, allocations: 41.12 kB / 0.7285 GB, free: 6.262 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.2198, allocations: 1.983 MB / 0.7305 GB, free: 4.191 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.2202, allocations: 0.728 MB / 0.7312 GB, free: 3.438 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.668e-05/0.2203, allocations: 25.7 kB / 0.7312 GB, free: 3.414 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.893e-05/0.2204, allocations: 55.41 kB / 0.7312 GB, free: 3.359 MB / 0.545 GB Notification: Performance of SimCode: time 9.41e-07/0.2204, allocations: 0 / 0.7312 GB, free: 3.359 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0273/0.2477, allocations: 4.837 MB / 0.736 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.4, allocations: 10.25 kB / 0.736 GB, free: 14.62 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.342588147032075] Failed to read output from testmodel.py, exit status != 0: 11.623999878996983 11.641765684 11.429750437 Calling exit ...