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.0008603/0.0008603, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.0008145/0.0008145, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.994/0.994, allocations: 177.1 MB / 203.5 MB, free: 5.711 MB / 186.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 1.804/1.804, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.373e-06/1.373e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.679e-05, allocations: 9.594 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002162/0.002179, allocations: 1.782 MB / 1.002 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.003482, allocations: 1.122 MB / 1.004 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.987e-05/0.003571, allocations: 0 / 1.004 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005081/0.00408, allocations: 178.8 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.004391, allocations: 159.3 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.004699, allocations: 139.5 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000208/0.004907, allocations: 183.5 kB / 1.004 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.925e-05/0.005006, allocations: 25.28 kB / 1.004 GB, free: 9.926 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.005119, allocations: 95.67 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.005219, allocations: 63.86 kB / 1.004 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.005237, allocations: 8 kB / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.005366, allocations: 71.88 kB / 1.004 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.00543, allocations: 43.84 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.00548, allocations: 39.84 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.005703, allocations: 203.4 kB / 1.005 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.005704, allocations: 0 / 1.005 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005705, allocations: 7.938 kB / 1.005 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.005709, allocations: 0 / 1.005 GB, free: 9.402 MB / 0.9636 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.0005278/0.006237, allocations: 430.8 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.006273, allocations: 9.344 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.173e-05/0.006304, allocations: 38.75 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.006342, allocations: 16.84 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.00656, allocations: 193.4 kB / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.006571, allocations: 384 / 1.005 GB, free: 8.66 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.006581, allocations: 4.375 kB / 1.005 GB, free: 8.656 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.006704, allocations: 81.92 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.00671, allocations: 0 / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.006722, allocations: 7.984 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.006731, allocations: 4 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.912e-05/0.00679, allocations: 31.98 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.007166, allocations: 327.6 kB / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.007291, allocations: 70.67 kB / 1.006 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.007336, allocations: 32.84 kB / 1.006 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.007345, allocations: 0 / 1.006 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.007462, allocations: 95.3 kB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.007463, allocations: 0 / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0002318/0.007695, allocations: 157.4 kB / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.007719, allocations: 51.41 kB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.007913, allocations: 275.2 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.007926, allocations: 29.7 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.007983, allocations: 116.1 kB / 1.007 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.008004, allocations: 19.86 kB / 1.007 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.008038, allocations: 29.69 kB / 1.007 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.008134, allocations: 334.8 kB / 1.007 GB, free: 6.898 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.008177, allocations: 31.98 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.008241, allocations: 80.25 kB / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.141e-05/0.008322, allocations: 77.64 kB / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.008324, allocations: 0 / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001257/0.00845, allocations: 125.5 kB / 1.007 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.008461, allocations: 4 kB / 1.007 GB, free: 6.559 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.008466, allocations: 4 kB / 1.007 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.008476, allocations: 4 kB / 1.007 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.24e-05/0.008529, allocations: 16.05 kB / 1.007 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.008533, allocations: 384 / 1.007 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.266e-05/0.008566, allocations: 7.938 kB / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.008572, allocations: 4 kB / 1.007 GB, free: 6.523 MB / 0.9636 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 8.93e-05/0.008661, allocations: 144.4 kB / 1.007 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.00868, allocations: 31.72 kB / 1.007 GB, free: 6.344 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.008841, allocations: 131.2 kB / 1.008 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.008848, allocations: 4 kB / 1.008 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.008852, allocations: 0 / 1.008 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.008855, allocations: 4 kB / 1.008 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.008989, allocations: 192.6 kB / 1.008 GB, free: 5.969 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.008996, allocations: 4 kB / 1.008 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.804e-05/0.009014, allocations: 4 kB / 1.008 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.009016, allocations: 0 / 1.008 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.009023, allocations: 0 / 1.008 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.009024, allocations: 0 / 1.008 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.009025, allocations: 0 / 1.008 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.009167, allocations: 164.8 kB / 1.008 GB, free: 5.781 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.843e-05/0.009186, allocations: 15.84 kB / 1.008 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.009203, allocations: 12 kB / 1.008 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.382e-05/0.009227, allocations: 3.984 kB / 1.008 GB, free: 5.75 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.00926, allocations: 7.984 kB / 1.008 GB, free: 5.742 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.009267, allocations: 4 kB / 1.008 GB, free: 5.738 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001428/0.00941, allocations: 199.2 kB / 1.008 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.00941, allocations: 0 / 1.008 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001747/0.009585, allocations: 35.92 kB / 1.008 GB, free: 5.508 MB / 0.9636 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.001071/0.01066, allocations: 1.026 MB / 1.009 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.0108, allocations: 75.95 kB / 1.009 GB, free: 4.562 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01081, allocations: 4 kB / 1.009 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.725e-05/0.01085, allocations: 35.92 kB / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.01105, allocations: 38.14 kB / 1.009 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.01279, allocations: 2.017 MB / 1.011 GB, free: 2.387 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.342e-05/0.01287, allocations: 126.7 kB / 1.011 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.539e-05/0.01292, allocations: 21.78 kB / 1.011 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.99e-05/0.01299, allocations: 52.47 kB / 1.011 GB, free: 2.168 MB / 0.9636 GB Notification: Performance of SimCode: time 8.02e-07/0.01299, allocations: 4 kB / 1.011 GB, free: 2.164 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0798/0.09279, allocations: 5.425 MB / 1.017 GB, free: 12.82 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.185/7.278, allocations: 14.06 kB / 1.017 GB, free: 12.81 MB / 0.9792 GB " [Timeout remaining time 293] (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: 11.890404327772558]