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.0009127/0.0009127, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.001079/0.001079, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9054/0.9054, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.5268/0.5268, allocations: 110.2 MB / 369.4 MB, free: 12.61 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.194e-06/2.194e-06, allocations: 0 / 0.5473 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.578e-05, allocations: 2.281 kB / 0.5473 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002477/0.002503, allocations: 1.786 MB / 0.549 GB, free: 8.02 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.003963, allocations: 1.115 MB / 0.5501 GB, free: 6.895 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.481e-05/0.004058, allocations: 4 kB / 0.5501 GB, free: 6.891 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005523/0.00461, allocations: 167.4 kB / 0.5503 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.004895, allocations: 159.3 kB / 0.5504 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.00518, allocations: 146.8 kB / 0.5506 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.005358, allocations: 175.5 kB / 0.5507 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.005455, allocations: 21.28 kB / 0.5508 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.005559, allocations: 95.73 kB / 0.5508 GB, free: 6.145 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.882e-05/0.005648, allocations: 71.8 kB / 0.5509 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.005666, allocations: 11.98 kB / 0.5509 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.00578, allocations: 63.89 kB / 0.551 GB, free: 6 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 5.817e-05/0.005838, allocations: 43.84 kB / 0.551 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.005883, allocations: 35.86 kB / 0.5511 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.006121, allocations: 207.3 kB / 0.5513 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.006123, allocations: 0 / 0.5513 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.112e-06/0.006124, allocations: 0 / 0.5513 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.006128, allocations: 0 / 0.5513 GB, free: 5.719 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.0005323/0.00666, allocations: 442.8 kB / 0.5517 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.006697, allocations: 12.03 kB / 0.5517 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.696e-05/0.006724, allocations: 34.75 kB / 0.5517 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.006765, allocations: 16.84 kB / 0.5517 GB, free: 5.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.007005, allocations: 194.1 kB / 0.5519 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.00702, allocations: 8.375 kB / 0.5519 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.00703, allocations: 384 / 0.5519 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.007173, allocations: 81.91 kB / 0.552 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.007181, allocations: 0 / 0.552 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.007193, allocations: 3.984 kB / 0.552 GB, free: 4.867 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.007204, allocations: 4 kB / 0.552 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.709e-05/0.007271, allocations: 39.92 kB / 0.5521 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003798/0.007651, allocations: 323.8 kB / 0.5524 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.007773, allocations: 74.61 kB / 0.5524 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.007813, allocations: 32.84 kB / 0.5525 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.007825, allocations: 0 / 0.5525 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001132/0.007938, allocations: 87.38 kB / 0.5526 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 8.51e-07/0.007939, allocations: 0 / 0.5526 GB, free: 4.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0002466/0.008186, allocations: 149.5 kB / 0.5527 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.008213, allocations: 55.41 kB / 0.5528 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.008402, allocations: 275.2 kB / 0.553 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.008414, allocations: 25.7 kB / 0.553 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.008477, allocations: 124.2 kB / 0.5532 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.008499, allocations: 31.78 kB / 0.5532 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.008532, allocations: 21.72 kB / 0.5532 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.91e-05/0.008621, allocations: 334.8 kB / 0.5535 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.054e-05/0.008662, allocations: 27.98 kB / 0.5536 GB, free: 3.172 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.524e-05/0.008727, allocations: 84.2 kB / 0.5536 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.081e-05/0.008808, allocations: 78.03 kB / 0.5537 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.00881, allocations: 4 kB / 0.5537 GB, free: 2.988 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001236/0.008933, allocations: 117.5 kB / 0.5538 GB, free: 2.867 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.008944, allocations: 4 kB / 0.5538 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.00895, allocations: 0 / 0.5538 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.00896, allocations: 0 / 0.5538 GB, free: 2.863 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.418e-05/0.009014, allocations: 12 kB / 0.5538 GB, free: 2.852 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.009019, allocations: 4.094 kB / 0.5538 GB, free: 2.848 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.643e-05/0.009056, allocations: 19.88 kB / 0.5539 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.009062, allocations: 0 / 0.5539 GB, free: 2.828 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 9.183e-05/0.009153, allocations: 157.8 kB / 0.554 GB, free: 2.664 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/0.009169, allocations: 15.91 kB / 0.554 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.00933, allocations: 135.1 kB / 0.5542 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.009338, allocations: 7.984 kB / 0.5542 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.009341, allocations: 0 / 0.5542 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.009345, allocations: 0 / 0.5542 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.00947, allocations: 192.6 kB / 0.5543 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.009471, allocations: 0 / 0.5543 GB, free: 2.266 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.494e-05/0.009486, allocations: 7.938 kB / 0.5544 GB, free: 2.258 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.009488, allocations: 4 kB / 0.5544 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.009496, allocations: 4 kB / 0.5544 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.009498, allocations: 3.984 kB / 0.5544 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.009499, allocations: 0 / 0.5544 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.009625, allocations: 148.9 kB / 0.5545 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.009644, allocations: 23.83 kB / 0.5545 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.009659, allocations: 0 / 0.5545 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.43e-05/0.009683, allocations: 8 kB / 0.5545 GB, free: 2.051 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.009714, allocations: 11.98 kB / 0.5546 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.00972, allocations: 0 / 0.5546 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001232/0.009843, allocations: 208.6 kB / 0.5547 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.009843, allocations: 4 kB / 0.5548 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001718/0.01001, allocations: 31.89 kB / 0.5548 GB, free: 1.801 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.0009953/0.01101, allocations: 1.034 MB / 0.5558 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001684/0.01118, allocations: 75.84 kB / 0.5559 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01118, allocations: 0 / 0.5559 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.925e-05/0.01123, allocations: 31.98 kB / 0.5559 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.01141, allocations: 44.62 kB / 0.5559 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.01293, allocations: 2.015 MB / 0.5579 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.489e-05/0.01301, allocations: 122.6 kB / 0.558 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.298e-05/0.01306, allocations: 29.78 kB / 0.5581 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.32e-05/0.01312, allocations: 52.48 kB / 0.5581 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of SimCode: time 3.1e-07/0.01312, allocations: 0 / 0.5581 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0175/0.03062, allocations: 5.431 MB / 0.5634 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.921/6.951, allocations: 13.98 kB / 0.5634 GB, free: 9.109 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 & /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 sys.exit(0), Time elapsed: 9.411714144982398] Failed to read output from testmodel.py, exit status != 0: 7.047055780887604 7.05555806 7.047756473 Calling exit ...