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.001139/0.001139, allocations: 79.69 kB / 19.26 MB, free: 0.6133 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.001424/0.001424, allocations: 162 kB / 22.56 MB, free: 1.957 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.9661/0.9661, allocations: 177.1 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.5524/0.5524, 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.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 3.984 kB / 0.5475 GB, free: 9.707 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.908e-05, allocations: 4.125 kB / 0.5475 GB, free: 9.703 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002767/0.002796, allocations: 1.795 MB / 0.5492 GB, free: 7.895 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.004236, allocations: 1.104 MB / 0.5503 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.004336, allocations: 0 / 0.5503 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005746/0.004911, allocations: 171.4 kB / 0.5505 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.005245, allocations: 159.3 kB / 0.5506 GB, free: 6.457 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.005727, allocations: 147.5 kB / 0.5508 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.005941, allocations: 179.5 kB / 0.5509 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.006052, allocations: 13.31 kB / 0.551 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.006173, allocations: 99.66 kB / 0.5511 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.006278, allocations: 63.86 kB / 0.5511 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.006298, allocations: 8 kB / 0.5511 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.006437, allocations: 71.88 kB / 0.5512 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.396e-05/0.006511, allocations: 51.83 kB / 0.5512 GB, free: 5.836 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.64e-05/0.006568, allocations: 35.86 kB / 0.5513 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002688/0.006837, allocations: 207.3 kB / 0.5515 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.00684, allocations: 0 / 0.5515 GB, free: 5.598 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.243e-06/0.006841, allocations: 4 kB / 0.5515 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.006846, allocations: 0 / 0.5515 GB, free: 5.594 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005716/0.007417, allocations: 434.8 kB / 0.5519 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.007458, allocations: 8.625 kB / 0.5519 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.654e-05/0.007484, allocations: 34.73 kB / 0.5519 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.007521, allocations: 16.84 kB / 0.5519 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.007747, allocations: 198.1 kB / 0.5521 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.00776, allocations: 4.375 kB / 0.5521 GB, free: 4.844 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.007773, allocations: 8.359 kB / 0.5522 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.007903, allocations: 73.97 kB / 0.5522 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.007911, allocations: 8 kB / 0.5522 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.007921, allocations: 0 / 0.5522 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.00793, allocations: 0 / 0.5522 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.777e-05/0.007998, allocations: 47.84 kB / 0.5523 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.008415, allocations: 315.8 kB / 0.5526 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.008546, allocations: 74.61 kB / 0.5526 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.008588, allocations: 32.84 kB / 0.5527 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.008602, allocations: 0 / 0.5527 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/0.008724, allocations: 91.38 kB / 0.5528 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.373e-06/0.008725, allocations: 0 / 0.5528 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0002437/0.008969, allocations: 145.5 kB / 0.5529 GB, free: 3.984 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.009003, allocations: 59.39 kB / 0.553 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.009205, allocations: 271.2 kB / 0.5532 GB, free: 3.637 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.009218, allocations: 25.7 kB / 0.5532 GB, free: 3.605 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.009287, allocations: 132 kB / 0.5534 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.009309, allocations: 19.86 kB / 0.5534 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.009349, allocations: 25.7 kB / 0.5534 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.775e-05/0.009437, allocations: 334.8 kB / 0.5537 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.249e-05/0.009479, allocations: 31.98 kB / 0.5538 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.803e-05/0.009547, allocations: 80.2 kB / 0.5538 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.462e-05/0.009632, allocations: 73.69 kB / 0.5539 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.009634, allocations: 0 / 0.5539 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001277/0.009762, allocations: 117.9 kB / 0.554 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.009774, allocations: 4 kB / 0.554 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.00978, allocations: 4 kB / 0.554 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.009791, allocations: 0 / 0.554 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.598e-05/0.009847, allocations: 12.05 kB / 0.554 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.009854, allocations: 7.938 kB / 0.554 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.009894, allocations: 15.89 kB / 0.5541 GB, free: 2.719 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.009902, allocations: 4 kB / 0.5541 GB, free: 2.715 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: 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.0003818/0.01028, allocations: 145.9 kB / 0.5542 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.983e-05/0.0103, allocations: 19.84 kB / 0.5542 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001803/0.01048, allocations: 139.3 kB / 0.5544 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/0.01049, allocations: 4 kB / 0.5544 GB, free: 2.391 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.0105, allocations: 0 / 0.5544 GB, free: 2.391 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.0105, allocations: 4 kB / 0.5544 GB, free: 2.387 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.01063, allocations: 192.6 kB / 0.5545 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01063, allocations: 0 / 0.5545 GB, free: 2.156 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.118e-05/0.01066, allocations: 15.92 kB / 0.5546 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.01066, allocations: 0 / 0.5546 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.01067, allocations: 0 / 0.5546 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.01067, allocations: 0 / 0.5546 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.01067, allocations: 3.984 kB / 0.5546 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.0108, allocations: 156.9 kB / 0.5547 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.01082, allocations: 15.84 kB / 0.5547 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.01084, allocations: 4 kB / 0.5547 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.595e-05/0.01087, allocations: 15.98 kB / 0.5548 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.01091, allocations: 4 kB / 0.5548 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-06/0.01092, allocations: 7.984 kB / 0.5548 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001243/0.01104, allocations: 200.6 kB / 0.555 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.01104, allocations: 0 / 0.555 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001731/0.01121, allocations: 43.86 kB / 0.555 GB, free: 1.68 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: 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 (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.0009731/0.01219, allocations: 1.025 MB / 0.556 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.01234, allocations: 75.91 kB / 0.5561 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01234, allocations: 0 / 0.5561 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.695e-05/0.01239, allocations: 35.98 kB / 0.5561 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.01257, allocations: 46.05 kB / 0.5561 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001642/0.01421, allocations: 2.011 MB / 0.5581 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.866e-05/0.0143, allocations: 122.8 kB / 0.5582 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.803e-05/0.01437, allocations: 21.78 kB / 0.5583 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.629e-05/0.01445, allocations: 56.41 kB / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of SimCode: time 4.51e-07/0.01445, allocations: 0 / 0.5583 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.03296, allocations: 5.426 MB / 0.5636 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.918/6.951, allocations: 13.75 kB / 0.5636 GB, free: 8.996 MB / 0.5261 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.67040800768882] Failed to read output from testmodel.py, exit status != 0: 7.054562706500292 7.065285287 7.056520549 Calling exit ...