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.0007553/0.0007553, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008379/0.0008379, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8992/0.8992, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.5696/0.5696, allocations: 110.2 MB / 369.4 MB, free: 12.63 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.472e-06/1.472e-06, allocations: 0 / 0.5473 GB, free: 8.75 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.891e-05, allocations: 2.281 kB / 0.5473 GB, free: 8.746 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002522/0.002541, allocations: 1.769 MB / 0.549 GB, free: 6.961 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.003973, allocations: 1.197 MB / 0.5502 GB, free: 5.754 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.004e-05/0.004063, allocations: 4 kB / 0.5502 GB, free: 5.75 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.004402, allocations: 47.75 kB / 0.5502 GB, free: 5.703 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004645/0.004866, allocations: 135.3 kB / 0.5504 GB, free: 5.57 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005849/0.005451, allocations: 187.3 kB / 0.5505 GB, free: 5.387 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.005709, allocations: 163.5 kB / 0.5507 GB, free: 5.227 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.005848, allocations: 21.62 kB / 0.5507 GB, free: 5.203 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.006016, allocations: 83.8 kB / 0.5508 GB, free: 5.121 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.006165, allocations: 63.8 kB / 0.5508 GB, free: 5.059 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.006189, allocations: 8 kB / 0.5509 GB, free: 5.051 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001842/0.006373, allocations: 83.8 kB / 0.5509 GB, free: 4.969 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.006475, allocations: 39.84 kB / 0.551 GB, free: 4.93 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 6.346e-05/0.006539, allocations: 27.92 kB / 0.551 GB, free: 4.902 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.006885, allocations: 223.3 kB / 0.5512 GB, free: 4.684 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.00689, allocations: 0 / 0.5512 GB, free: 4.684 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.006893, allocations: 0 / 0.5512 GB, free: 4.684 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.0069, allocations: 4 kB / 0.5512 GB, free: 4.68 MB / 474.7 MB 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.0006768/0.007577, allocations: 422.9 kB / 0.5516 GB, free: 4.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.00762, allocations: 8.031 kB / 0.5516 GB, free: 4.223 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.979e-05/0.007649, allocations: 38.67 kB / 0.5517 GB, free: 4.176 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.852e-05/0.007698, allocations: 20.8 kB / 0.5517 GB, free: 4.156 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.007992, allocations: 194.1 kB / 0.5519 GB, free: 3.941 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.008006, allocations: 4.375 kB / 0.5519 GB, free: 3.938 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.008018, allocations: 4.375 kB / 0.5519 GB, free: 3.934 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.008193, allocations: 121.4 kB / 0.552 GB, free: 3.797 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.008201, allocations: 3.938 kB / 0.552 GB, free: 3.793 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.008212, allocations: 7.984 kB / 0.552 GB, free: 3.785 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.008223, allocations: 4 kB / 0.552 GB, free: 3.781 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.086e-05/0.008294, allocations: 31.97 kB / 0.552 GB, free: 3.75 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.008773, allocations: 327.8 kB / 0.5524 GB, free: 3.387 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.008938, allocations: 90.69 kB / 0.5524 GB, free: 3.289 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.843e-05/0.008986, allocations: 28.84 kB / 0.5525 GB, free: 3.258 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.524e-05/0.009001, allocations: 0 / 0.5525 GB, free: 3.258 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.009147, allocations: 83.38 kB / 0.5525 GB, free: 3.164 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.009148, allocations: 4 kB / 0.5526 GB, free: 3.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002719/0.00942, allocations: 149.4 kB / 0.5527 GB, free: 3.008 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.00946, allocations: 77.11 kB / 0.5528 GB, free: 2.914 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.009652, allocations: 279.1 kB / 0.553 GB, free: 2.629 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.009667, allocations: 25.7 kB / 0.5531 GB, free: 2.598 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.009733, allocations: 124.1 kB / 0.5532 GB, free: 2.473 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.009756, allocations: 19.84 kB / 0.5532 GB, free: 2.453 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.009789, allocations: 25.72 kB / 0.5532 GB, free: 2.422 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.413e-05/0.009873, allocations: 334.8 kB / 0.5535 GB, free: 2.086 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.791e-05/0.009921, allocations: 27.98 kB / 0.5536 GB, free: 2.059 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.939e-05/0.00999, allocations: 114.8 kB / 0.5537 GB, free: 1.922 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.836e-05/0.01008, allocations: 73.62 kB / 0.5537 GB, free: 1.844 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.01008, allocations: 0 / 0.5537 GB, free: 1.844 MB / 474.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001395/0.01022, allocations: 125.5 kB / 0.5539 GB, free: 1.715 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.01023, allocations: 6.688 kB / 0.5539 GB, free: 1.711 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.01025, allocations: 3.984 kB / 0.5539 GB, free: 1.707 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.01026, allocations: 3.938 kB / 0.5539 GB, free: 1.703 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/0.01033, allocations: 12 kB / 0.5539 GB, free: 1.691 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.01034, allocations: 4.062 kB / 0.5539 GB, free: 1.688 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.01038, allocations: 15.88 kB / 0.5539 GB, free: 1.672 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.01039, allocations: 4 kB / 0.5539 GB, free: 1.668 MB / 474.7 MB 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 9.734e-05/0.01049, allocations: 141.8 kB / 0.554 GB, free: 1.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.01051, allocations: 15.91 kB / 0.5541 GB, free: 1.504 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.01069, allocations: 131 kB / 0.5542 GB, free: 1.375 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.0107, allocations: 4 kB / 0.5542 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.0107, allocations: 0 / 0.5542 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01071, allocations: 0 / 0.5542 GB, free: 1.371 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.01084, allocations: 192.6 kB / 0.5544 GB, free: 1.141 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01085, allocations: 0 / 0.5544 GB, free: 1.141 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/0.01087, allocations: 11.98 kB / 0.5544 GB, free: 1.129 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01088, allocations: 0 / 0.5544 GB, free: 1.129 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.01088, allocations: 0 / 0.5544 GB, free: 1.129 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01088, allocations: 4 kB / 0.5544 GB, free: 1.125 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.01089, allocations: 7.938 kB / 0.5544 GB, free: 1.117 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.01107, allocations: 156.9 kB / 0.5545 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/0.0111, allocations: 11.91 kB / 0.5546 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.01112, allocations: 11.98 kB / 0.5546 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.036e-05/0.01115, allocations: 4 kB / 0.5546 GB, free: 0.918 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.01121, allocations: 7.984 kB / 0.5546 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.01122, allocations: 8 kB / 0.5546 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001302/0.01135, allocations: 204.6 kB / 0.5548 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01135, allocations: 3.938 kB / 0.5548 GB, free: 0.6992 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001849/0.01153, allocations: 31.94 kB / 0.5548 GB, free: 0.668 MB / 474.7 MB 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.001049/0.01258, allocations: 1.055 MB / 0.5558 GB, free: 15.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001735/0.01275, allocations: 67.97 kB / 0.5559 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01276, allocations: 0 / 0.5559 GB, free: 15.71 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.312e-05/0.01281, allocations: 35.92 kB / 0.5559 GB, free: 15.67 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.01302, allocations: 47.52 kB / 0.556 GB, free: 15.63 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.01464, allocations: 1.996 MB / 0.5579 GB, free: 13.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.161e-05/0.01471, allocations: 114.8 kB / 0.5581 GB, free: 13.41 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.111e-05/0.01477, allocations: 21.55 kB / 0.5581 GB, free: 13.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.01484, allocations: 56.47 kB / 0.5581 GB, free: 13.33 MB / 490.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01484, allocations: 0 / 0.5581 GB, free: 13.33 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01863/0.03348, allocations: 5.645 MB / 0.5636 GB, free: 7.777 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.795/6.828, allocations: 0 / 0.5636 GB, free: 7.777 MB / 490.7 MB " [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.428891500458121] Failed to read output from testmodel.py, exit status != 0: 6.925432645715773 6.934750575 6.925905427 Calling exit ...