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.0009349/0.0009349, allocations: 79.69 kB / 19.25 MB, free: 0.6211 MB / 13.93 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.001005/0.001005, allocations: 162 kB / 22.56 MB, free: 1.965 MB / 18.57 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 0.9037/0.9037, allocations: 177.2 MB / 202.9 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.5564/0.5564, allocations: 110.2 MB / 369.6 MB, free: 12.59 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.614e-06/1.614e-06, allocations: 0 / 0.5475 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.167e-05, allocations: 2.281 kB / 0.5475 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002549/0.00257, allocations: 1.772 MB / 0.5492 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001381/0.003951, allocations: 1.193 MB / 0.5504 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.758e-05/0.004029, allocations: 0 / 0.5504 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.004294, allocations: 63.61 kB / 0.5504 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.004587, allocations: 127.4 kB / 0.5506 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003806/0.004968, allocations: 195.3 kB / 0.5507 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001757/0.005144, allocations: 151.6 kB / 0.5509 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.322e-05/0.005237, allocations: 17.62 kB / 0.5509 GB, free: 6.227 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.005367, allocations: 91.67 kB / 0.551 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 9.21e-05/0.005459, allocations: 63.86 kB / 0.5511 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.005479, allocations: 8 kB / 0.5511 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.005617, allocations: 83.86 kB / 0.5511 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.566e-05/0.005682, allocations: 35.84 kB / 0.5512 GB, free: 5.949 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.483e-05/0.005737, allocations: 39.86 kB / 0.5512 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002458/0.005983, allocations: 219.3 kB / 0.5514 GB, free: 5.695 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.005985, allocations: 0 / 0.5514 GB, free: 5.695 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.002e-06/0.005986, allocations: 0 / 0.5514 GB, free: 5.695 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.005991, allocations: 0 / 0.5514 GB, free: 5.695 MB / 0.5105 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.0005256/0.006516, allocations: 422.9 kB / 0.5518 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.006558, allocations: 16.03 kB / 0.5518 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.765e-05/0.006586, allocations: 38.73 kB / 0.5519 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.096e-05/0.006626, allocations: 20.8 kB / 0.5519 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.006882, allocations: 194.1 kB / 0.5521 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.006897, allocations: 12.3 kB / 0.5521 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.006909, allocations: 4.375 kB / 0.5521 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.007335, allocations: 117.4 kB / 0.5522 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.007342, allocations: 0 / 0.5522 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.007352, allocations: 0 / 0.5522 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/0.007363, allocations: 0 / 0.5522 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.017e-05/0.007453, allocations: 47.91 kB / 0.5523 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.007863, allocations: 311.9 kB / 0.5526 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.00801, allocations: 86.75 kB / 0.5526 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.091e-05/0.008051, allocations: 32.78 kB / 0.5527 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.008064, allocations: 0 / 0.5527 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/0.008186, allocations: 83.38 kB / 0.5528 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.008187, allocations: 0 / 0.5528 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0002856/0.008472, allocations: 153.5 kB / 0.5529 GB, free: 4.027 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.00851, allocations: 81.05 kB / 0.553 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.008724, allocations: 279.1 kB / 0.5532 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.00874, allocations: 29.7 kB / 0.5533 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.008797, allocations: 120.1 kB / 0.5534 GB, free: 3.488 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.957e-05/0.008816, allocations: 19.83 kB / 0.5534 GB, free: 3.469 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.00885, allocations: 29.72 kB / 0.5534 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.29e-05/0.008933, allocations: 334.8 kB / 0.5538 GB, free: 3.098 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-05/0.008976, allocations: 27.98 kB / 0.5538 GB, free: 3.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.009048, allocations: 118.8 kB / 0.5539 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.763e-05/0.009136, allocations: 73.67 kB / 0.554 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.009138, allocations: 0 / 0.554 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001973/0.009335, allocations: 117.6 kB / 0.5541 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.009347, allocations: 4 kB / 0.5541 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.009352, allocations: 0 / 0.5541 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.009361, allocations: 0 / 0.5541 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.394e-05/0.009425, allocations: 15.94 kB / 0.5541 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.00943, allocations: 0 / 0.5541 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.997e-05/0.00947, allocations: 15.88 kB / 0.5541 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.009478, allocations: 16.02 kB / 0.5541 GB, free: 2.68 MB / 0.5105 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 8.622e-05/0.009565, allocations: 137.8 kB / 0.5543 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.009581, allocations: 19.89 kB / 0.5543 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.009755, allocations: 135 kB / 0.5544 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.009761, allocations: 0 / 0.5544 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.009765, allocations: 0 / 0.5544 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.009768, allocations: 0 / 0.5544 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.009893, allocations: 188.6 kB / 0.5546 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.009894, allocations: 0 / 0.5546 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.273e-05/0.009917, allocations: 11.98 kB / 0.5546 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.009919, allocations: 4 kB / 0.5546 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.009927, allocations: 4 kB / 0.5546 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.009928, allocations: 4 kB / 0.5546 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.009929, allocations: 0 / 0.5546 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.01007, allocations: 156.8 kB / 0.5548 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.038e-05/0.01009, allocations: 19.89 kB / 0.5548 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.0101, allocations: 4 kB / 0.5548 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.36e-05/0.01013, allocations: 0 / 0.5548 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.01018, allocations: 11.98 kB / 0.5548 GB, free: 1.914 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.01019, allocations: 4 kB / 0.5548 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001236/0.01031, allocations: 212.6 kB / 0.555 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.01031, allocations: 0 / 0.555 GB, free: 1.703 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000199/0.01051, allocations: 31.94 kB / 0.555 GB, free: 1.672 MB / 0.5105 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 (8): * Single equations (assignments): 5 * 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.001102/0.01161, allocations: 1.045 MB / 0.556 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001706/0.01178, allocations: 71.91 kB / 0.5561 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.01178, allocations: 0 / 0.5561 GB, free: 0.7188 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.591e-05/0.01184, allocations: 35.98 kB / 0.5562 GB, free: 0.6836 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.01205, allocations: 36.77 kB / 0.5562 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.01359, allocations: 2.015 MB / 0.5582 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.072e-05/0.01366, allocations: 114.8 kB / 0.5583 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.734e-05/0.01372, allocations: 25.47 kB / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/0.01378, allocations: 52.48 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of SimCode: time 4.31e-07/0.01378, allocations: 0 / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0168/0.03058, allocations: 5.634 MB / 0.5638 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.199/7.23, allocations: 8.062 kB / 0.5638 GB, free: 8.781 MB / 0.5261 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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: 9.8040666654706] Failed to read output from testmodel.py, exit status != 0: 7.32739782333374 7.338811168 7.330127192 Calling exit ...