Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.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.001851/0.001851, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00235/0.00235, allocations: 213.3 kB / 22.26 MB, free: 5.121 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.977 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.9494/0.9494, allocations: 145 MB / 457.4 MB, free: 15.48 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.IntegerReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="me",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.003483/0.003483, allocations: 73.67 kB / 0.6332 GB, free: 7.281 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2599, allocations: 87.89 MB / 0.719 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.00401/0.2639, allocations: 1.807 MB / 0.7208 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002365/0.2663, allocations: 1.291 MB / 0.722 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.2664, allocations: 7.875 kB / 0.722 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.2668, allocations: 55.73 kB / 0.7221 GB, free: 12.22 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004384/0.2672, allocations: 123.5 kB / 0.7222 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006471/0.2679, allocations: 198.3 kB / 0.7224 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002929/0.2682, allocations: 155.6 kB / 0.7225 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.2683, allocations: 17.64 kB / 0.7226 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.2685, allocations: 71.69 kB / 0.7226 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.2686, allocations: 75.67 kB / 0.7227 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.2687, allocations: 8 kB / 0.7227 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002111/0.2689, allocations: 75.94 kB / 0.7228 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.939e-05/0.269, allocations: 39.78 kB / 0.7228 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.515e-05/0.2691, allocations: 63.61 kB / 0.7229 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.2695, allocations: 211.2 kB / 0.7231 GB, free: 11.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.2695, allocations: 4 kB / 0.7231 GB, free: 11.19 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2695, allocations: 0 / 0.7231 GB, free: 11.19 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.2695, allocations: 0 / 0.7231 GB, free: 11.19 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007723/0.2702, allocations: 430.9 kB / 0.7235 GB, free: 10.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.2703, allocations: 12.03 kB / 0.7235 GB, free: 10.72 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.883e-05/0.2703, allocations: 34.69 kB / 0.7235 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.397e-05/0.2704, allocations: 20.78 kB / 0.7236 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004104/0.2708, allocations: 198.2 kB / 0.7237 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.2708, allocations: 8.375 kB / 0.7238 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.2709, allocations: 7.938 kB / 0.7238 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.2711, allocations: 88.17 kB / 0.7238 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2711, allocations: 4 kB / 0.7238 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.2711, allocations: 4 kB / 0.7239 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.2711, allocations: 3.984 kB / 0.7239 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.2712, allocations: 31.98 kB / 0.7239 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.2718, allocations: 331.8 kB / 0.7242 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.272, allocations: 78.67 kB / 0.7243 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/0.2721, allocations: 32.84 kB / 0.7243 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.2721, allocations: 4 kB / 0.7243 GB, free: 9.789 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002243/0.2724, allocations: 95.34 kB / 0.7244 GB, free: 9.684 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 2.294e-06/0.2724, allocations: 0 / 0.7244 GB, free: 9.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003864/0.2728, allocations: 133.5 kB / 0.7245 GB, free: 9.547 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.2728, allocations: 110.8 kB / 0.7246 GB, free: 9.414 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.2731, allocations: 279 kB / 0.7249 GB, free: 9.133 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.2732, allocations: 33.7 kB / 0.7249 GB, free: 9.094 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.498e-05/0.2733, allocations: 124.1 kB / 0.7251 GB, free: 8.969 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.2733, allocations: 23.83 kB / 0.7251 GB, free: 8.945 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.132e-05/0.2733, allocations: 25.7 kB / 0.7251 GB, free: 8.914 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.2735, allocations: 330.8 kB / 0.7254 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.2736, allocations: 27.98 kB / 0.7254 GB, free: 8.555 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.2737, allocations: 68.22 kB / 0.7255 GB, free: 8.473 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.2738, allocations: 73.69 kB / 0.7256 GB, free: 8.395 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2738, allocations: 0 / 0.7256 GB, free: 8.395 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002368/0.2741, allocations: 113.5 kB / 0.7257 GB, free: 8.277 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.2741, allocations: 4 kB / 0.7257 GB, free: 8.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2741, allocations: 3.938 kB / 0.7257 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.2741, allocations: 0 / 0.7257 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.2742, allocations: 15.98 kB / 0.7257 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.2742, allocations: 0 / 0.7257 GB, free: 8.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.343e-05/0.2743, allocations: 15.92 kB / 0.7257 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.2743, allocations: 4 kB / 0.7257 GB, free: 8.234 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: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.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.0001654/0.2745, allocations: 145.8 kB / 0.7259 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.2745, allocations: 11.91 kB / 0.7259 GB, free: 8.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/0.2748, allocations: 131.4 kB / 0.726 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.2748, allocations: 0 / 0.726 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2748, allocations: 0 / 0.726 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.2748, allocations: 7.938 kB / 0.726 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.2751, allocations: 192.7 kB / 0.7262 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2751, allocations: 3.984 kB / 0.7262 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.2751, allocations: 4 kB / 0.7262 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2751, allocations: 4 kB / 0.7262 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.2751, allocations: 0 / 0.7262 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.2751, allocations: 0 / 0.7262 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2751, allocations: 3.938 kB / 0.7262 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.2754, allocations: 152.9 kB / 0.7264 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.2754, allocations: 23.84 kB / 0.7264 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.2755, allocations: 7.984 kB / 0.7264 GB, free: 7.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.523e-05/0.2755, allocations: 4 kB / 0.7264 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.2756, allocations: 12.11 kB / 0.7264 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.2756, allocations: 4 kB / 0.7264 GB, free: 7.457 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002603/0.2758, allocations: 212.5 kB / 0.7266 GB, free: 7.25 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2758, allocations: 0 / 0.7266 GB, free: 7.25 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002881/0.2761, allocations: 31.94 kB / 0.7266 GB, free: 7.219 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.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.002122/0.2783, allocations: 0.9891 MB / 0.7276 GB, free: 6.359 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.2785, allocations: 67.95 kB / 0.7277 GB, free: 6.293 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2785, allocations: 3.938 kB / 0.7277 GB, free: 6.289 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.936e-05/0.2786, allocations: 27.98 kB / 0.7277 GB, free: 6.262 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.2789, allocations: 63.48 kB / 0.7278 GB, free: 6.207 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/0.2814, allocations: 1.98 MB / 0.7297 GB, free: 4.141 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.2818, allocations: 0.7202 MB / 0.7304 GB, free: 3.395 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.082e-05/0.2818, allocations: 29.38 kB / 0.7304 GB, free: 3.367 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.599e-05/0.2819, allocations: 55.34 kB / 0.7305 GB, free: 3.312 MB / 0.545 GB Notification: Performance of SimCode: time 8.51e-07/0.2819, allocations: 0 / 0.7305 GB, free: 3.312 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03333/0.3153, allocations: 4.975 MB / 0.7353 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.6, allocations: 4.5 kB / 0.7353 GB, free: 14.42 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.403951352927834] Failed to read output from testmodel.py, exit status != 0: 11.770842408994213 11.788414265 11.515551883 Calling exit ...