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.0008353/0.0008353, 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.0008062/0.0008062, allocations: 169.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.9157/0.9157, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.5486/0.5486, allocations: 110.2 MB / 369.4 MB, free: 12.62 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.884e-06/1.884e-06, allocations: 0 / 0.5473 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.688e-05, allocations: 8.891 kB / 0.5473 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003099/0.003126, allocations: 1.78 MB / 0.549 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.004672, allocations: 1.181 MB / 0.5502 GB, free: 6.832 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.004772, allocations: 11.88 kB / 0.5502 GB, free: 6.82 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.005108, allocations: 51.73 kB / 0.5502 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.005428, allocations: 131.3 kB / 0.5504 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004847/0.005913, allocations: 191.3 kB / 0.5505 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.006126, allocations: 159.6 kB / 0.5507 GB, free: 6.297 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.006246, allocations: 13.64 kB / 0.5507 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.006377, allocations: 95.67 kB / 0.5508 GB, free: 6.188 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.006479, allocations: 55.86 kB / 0.5509 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.006499, allocations: 8 kB / 0.5509 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.006668, allocations: 83.86 kB / 0.5509 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.401e-05/0.006752, allocations: 47.77 kB / 0.551 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 5.601e-05/0.006808, allocations: 31.88 kB / 0.551 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.007118, allocations: 215.3 kB / 0.5512 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.007123, allocations: 0 / 0.5512 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.224e-06/0.007125, allocations: 0 / 0.5512 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.007132, allocations: 0 / 0.5512 GB, free: 5.754 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.0007008/0.007833, allocations: 426.9 kB / 0.5516 GB, free: 5.301 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/0.007889, allocations: 8.031 kB / 0.5516 GB, free: 5.293 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.00793, allocations: 38.73 kB / 0.5517 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.922e-05/0.007989, allocations: 20.8 kB / 0.5517 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.008407, allocations: 198.1 kB / 0.5519 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.008428, allocations: 8.375 kB / 0.5519 GB, free: 5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.008444, allocations: 8.375 kB / 0.5519 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.008659, allocations: 117.3 kB / 0.552 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.008668, allocations: 0 / 0.552 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.00868, allocations: 3.938 kB / 0.552 GB, free: 4.855 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.008693, allocations: 4 kB / 0.552 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.699e-05/0.00877, allocations: 35.97 kB / 0.552 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/0.009276, allocations: 311.9 kB / 0.5523 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.009458, allocations: 94.67 kB / 0.5524 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/0.009509, allocations: 32.84 kB / 0.5525 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.00953, allocations: 4 kB / 0.5525 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001796/0.00971, allocations: 87.36 kB / 0.5526 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.009711, allocations: 0 / 0.5526 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0002921/0.01, allocations: 153.4 kB / 0.5527 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.01005, allocations: 81.09 kB / 0.5528 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.01026, allocations: 275.2 kB / 0.553 GB, free: 3.695 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.01027, allocations: 29.7 kB / 0.5531 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/0.01034, allocations: 124.1 kB / 0.5532 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.01037, allocations: 19.86 kB / 0.5532 GB, free: 3.516 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.01041, allocations: 29.7 kB / 0.5532 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.148e-05/0.0105, allocations: 330.8 kB / 0.5536 GB, free: 3.148 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.594e-05/0.01056, allocations: 31.92 kB / 0.5536 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.679e-05/0.01063, allocations: 114.8 kB / 0.5537 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.143e-05/0.01072, allocations: 69.64 kB / 0.5538 GB, free: 2.906 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.01073, allocations: 0 / 0.5538 GB, free: 2.906 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001567/0.01088, allocations: 125.5 kB / 0.5539 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.0109, allocations: 10.41 kB / 0.5539 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.01091, allocations: 0 / 0.5539 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.01092, allocations: 0 / 0.5539 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.871e-05/0.011, allocations: 15.98 kB / 0.5539 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.01101, allocations: 0 / 0.5539 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.01106, allocations: 11.89 kB / 0.5539 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.01107, allocations: 8 kB / 0.5539 GB, free: 2.734 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 0.0001123/0.01118, allocations: 138 kB / 0.5541 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.0112, allocations: 15.91 kB / 0.5541 GB, free: 2.574 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.01141, allocations: 143 kB / 0.5542 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.01142, allocations: 0 / 0.5542 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.01143, allocations: 0 / 0.5542 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.01143, allocations: 0 / 0.5542 GB, free: 2.422 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.01159, allocations: 192.6 kB / 0.5544 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.0116, allocations: 4 kB / 0.5544 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.01163, allocations: 4 kB / 0.5544 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.01163, allocations: 0 / 0.5544 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.01164, allocations: 8 kB / 0.5544 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.01165, allocations: 0 / 0.5544 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01165, allocations: 0 / 0.5544 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.01181, allocations: 156.8 kB / 0.5546 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.01184, allocations: 19.89 kB / 0.5546 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.01186, allocations: 4 kB / 0.5546 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.799e-05/0.01189, allocations: 4 kB / 0.5546 GB, free: 1.977 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.01194, allocations: 11.98 kB / 0.5546 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.01196, allocations: 4 kB / 0.5546 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001445/0.0121, allocations: 208.6 kB / 0.5548 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.0121, allocations: 0 / 0.5548 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002044/0.0123, allocations: 35.92 kB / 0.5548 GB, free: 1.723 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.001403/0.01371, allocations: 1.041 MB / 0.5558 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.01391, allocations: 71.91 kB / 0.5559 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01391, allocations: 0 / 0.5559 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.352e-05/0.01397, allocations: 47.89 kB / 0.556 GB, free: 0.7227 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.0142, allocations: 40.56 kB / 0.556 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.01602, allocations: 2 MB / 0.558 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.185e-05/0.0161, allocations: 126.7 kB / 0.5581 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.862e-05/0.01618, allocations: 17.48 kB / 0.5581 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.836e-05/0.01626, allocations: 52.48 kB / 0.5581 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of SimCode: time 1.162e-06/0.01626, allocations: 3.938 kB / 0.5581 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.03708, allocations: 5.64 MB / 0.5636 GB, free: 8.836 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.839/6.876, allocations: 5.594 kB / 0.5637 GB, free: 8.836 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 & /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: 9.398726273328066] Failed to read output from testmodel.py, exit status != 0: 6.976160268299282 6.983593719 6.974749282 Calling exit ...