Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.0008104/0.0008104, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 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.0008421/0.0008421, allocations: 212.6 kB / 23.02 MB, free: 2.965 MB / 13.93 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.982/0.982, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.067/2.067, allocations: 0.5045 GB / 0.8104 GB, free: 2.738 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009075/0.0009075, allocations: 68.12 kB / 1.177 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7969/0.7978, allocations: 180 MB / 1.352 GB, free: 1.656 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002522/0.8003, allocations: 1.793 MB / 1.354 GB, free: 15.85 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.8017, allocations: 1.118 MB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.829e-05/0.8017, allocations: 3.938 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006724/0.8024, allocations: 173.3 kB / 1.355 GB, free: 14.56 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.8027, allocations: 155.5 kB / 1.356 GB, free: 14.41 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.803, allocations: 139.6 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002316/0.8033, allocations: 175.5 kB / 1.356 GB, free: 14.1 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.8034, allocations: 21.06 kB / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.788e-05/0.8035, allocations: 79.69 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.8036, allocations: 71.73 kB / 1.356 GB, free: 13.93 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.8036, allocations: 8 kB / 1.356 GB, free: 13.92 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001512/0.8038, allocations: 71.88 kB / 1.356 GB, free: 13.85 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 8.173e-05/0.8039, allocations: 43.84 kB / 1.356 GB, free: 13.81 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 6.344e-05/0.8039, allocations: 55.67 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.8042, allocations: 209.4 kB / 1.356 GB, free: 13.55 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.8042, allocations: 0 / 1.356 GB, free: 13.55 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8042, allocations: 0 / 1.356 GB, free: 13.55 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.8042, allocations: 0 / 1.356 GB, free: 13.55 MB / 1.042 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.0006196/0.8048, allocations: 434.8 kB / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.8049, allocations: 8.922 kB / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.481e-05/0.8049, allocations: 38.75 kB / 1.357 GB, free: 13.04 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.805, allocations: 16.84 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/0.8054, allocations: 198 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.8054, allocations: 4.375 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.8054, allocations: 7.938 kB / 1.357 GB, free: 12.79 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.8056, allocations: 73.66 kB / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.8056, allocations: 0 / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.8056, allocations: 4 kB / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.8056, allocations: 4 kB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.497e-05/0.8057, allocations: 35.92 kB / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.8061, allocations: 319.8 kB / 1.358 GB, free: 12.31 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.8062, allocations: 70.67 kB / 1.358 GB, free: 12.23 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.36e-05/0.8062, allocations: 40.78 kB / 1.358 GB, free: 12.19 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.8063, allocations: 0 / 1.358 GB, free: 12.19 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001258/0.8064, allocations: 83.38 kB / 1.358 GB, free: 12.1 MB / 1.042 GB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.8064, allocations: 0 / 1.358 GB, free: 12.1 MB / 1.042 GB Notification: Performance of matching and sorting (n=10): time 0.0002347/0.8066, allocations: 145.5 kB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.8066, allocations: 51.41 kB / 1.358 GB, free: 11.89 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.8068, allocations: 287 kB / 1.358 GB, free: 11.59 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.8069, allocations: 29.7 kB / 1.358 GB, free: 11.56 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.8069, allocations: 120.2 kB / 1.358 GB, free: 11.44 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.8069, allocations: 35.77 kB / 1.358 GB, free: 11.4 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.283e-05/0.807, allocations: 25.72 kB / 1.358 GB, free: 11.37 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.553e-05/0.8071, allocations: 330.8 kB / 1.359 GB, free: 11.04 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.333e-05/0.8071, allocations: 27.98 kB / 1.359 GB, free: 11.01 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.377e-05/0.8072, allocations: 76.55 kB / 1.359 GB, free: 10.92 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.551e-05/0.8073, allocations: 85.66 kB / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8073, allocations: 0 / 1.359 GB, free: 10.83 MB / 1.042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001236/0.8074, allocations: 117.5 kB / 1.359 GB, free: 10.71 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.8074, allocations: 8.062 kB / 1.359 GB, free: 10.7 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.8074, allocations: 0 / 1.359 GB, free: 10.7 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.8074, allocations: 0 / 1.359 GB, free: 10.7 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.254e-05/0.8075, allocations: 12 kB / 1.359 GB, free: 10.69 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.8075, allocations: 0 / 1.359 GB, free: 10.69 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.715e-05/0.8075, allocations: 23.75 kB / 1.359 GB, free: 10.67 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.8075, allocations: 4 kB / 1.359 GB, free: 10.66 MB / 1.042 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.033e-05/0.8076, allocations: 142.3 kB / 1.359 GB, free: 10.52 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.8076, allocations: 15.91 kB / 1.359 GB, free: 10.5 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.8078, allocations: 139 kB / 1.359 GB, free: 10.36 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.8078, allocations: 3.984 kB / 1.359 GB, free: 10.35 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.8078, allocations: 8 kB / 1.359 GB, free: 10.34 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.8078, allocations: 3.938 kB / 1.359 GB, free: 10.34 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.8079, allocations: 188.6 kB / 1.36 GB, free: 10.11 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8079, allocations: 0 / 1.36 GB, free: 10.11 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.807e-05/0.808, allocations: 7.938 kB / 1.36 GB, free: 10.11 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.808, allocations: 0 / 1.36 GB, free: 10.11 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.808, allocations: 4 kB / 1.36 GB, free: 10.1 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.808, allocations: 4 kB / 1.36 GB, free: 10.1 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.808, allocations: 3.984 kB / 1.36 GB, free: 10.09 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.8081, allocations: 149 kB / 1.36 GB, free: 9.93 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.8081, allocations: 23.84 kB / 1.36 GB, free: 9.906 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.8082, allocations: 0 / 1.36 GB, free: 9.906 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.388e-05/0.8082, allocations: 4 kB / 1.36 GB, free: 9.902 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.8082, allocations: 11.92 kB / 1.36 GB, free: 9.891 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.8082, allocations: 7.938 kB / 1.36 GB, free: 9.883 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001271/0.8084, allocations: 200.6 kB / 1.36 GB, free: 9.688 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8084, allocations: 0 / 1.36 GB, free: 9.688 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001684/0.8085, allocations: 31.94 kB / 1.36 GB, free: 9.656 MB / 1.042 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.001057/0.8096, allocations: 1.039 MB / 1.361 GB, free: 8.777 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000162/0.8098, allocations: 79.81 kB / 1.361 GB, free: 8.699 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8098, allocations: 4 kB / 1.361 GB, free: 8.695 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 4.625e-05/0.8098, allocations: 31.98 kB / 1.361 GB, free: 8.664 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.81, allocations: 51.08 kB / 1.361 GB, free: 8.617 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.8115, allocations: 2.006 MB / 1.363 GB, free: 6.523 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.413e-05/0.8116, allocations: 118.6 kB / 1.363 GB, free: 6.383 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.672e-05/0.8116, allocations: 17.42 kB / 1.363 GB, free: 6.367 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.8117, allocations: 51.42 kB / 1.363 GB, free: 6.316 MB / 1.042 GB Notification: Performance of SimCode: time 7.52e-07/0.8117, allocations: 0 / 1.363 GB, free: 6.316 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07597/0.8877, allocations: 5.3 MB / 1.368 GB, free: 1.098 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.078/7.966, allocations: 6.625 kB / 1.368 GB, free: 1.094 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator_fmpy_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 ../Buildings_13_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.BooleanReplicator_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.023273162543774]