Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001105/0.001105, allocations: 80.45 kB / 19.96 MB, free: 4.594 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.0008752/0.0008752, allocations: 169.2 kB / 23.24 MB, free: 1.312 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.9299/0.9299, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.783/1.783, 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.IntegerReplicator,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.05e-05/2.214e-05, allocations: 9.453 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002397/0.002419, allocations: 1.774 MB / 1.002 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.003931, allocations: 1.192 MB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.783e-05/0.004029, allocations: 3.938 kB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.004385, allocations: 59.73 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003219/0.004707, allocations: 135.3 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004571/0.005164, allocations: 187.3 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.005373, allocations: 159.5 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.005498, allocations: 21.61 kB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.005616, allocations: 83.73 kB / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.005723, allocations: 67.86 kB / 1.004 GB, free: 9.828 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.005742, allocations: 8 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.005891, allocations: 79.81 kB / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.828e-05/0.005969, allocations: 43.83 kB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.837e-05/0.006017, allocations: 31.86 kB / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.006262, allocations: 219.3 kB / 1.005 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.006265, allocations: 0 / 1.005 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.222e-06/0.006266, allocations: 0 / 1.005 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.006271, allocations: 0 / 1.005 GB, free: 9.453 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000563/0.006834, allocations: 426.9 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.00688, allocations: 13.34 kB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.158e-05/0.006912, allocations: 30.75 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.00696, allocations: 20.78 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.007254, allocations: 197.4 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.007278, allocations: 8.375 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.00729, allocations: 4.375 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.007477, allocations: 121.3 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.007485, allocations: 0 / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.007498, allocations: 4 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.007509, allocations: 4 kB / 1.005 GB, free: 8.555 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.981e-05/0.007579, allocations: 31.98 kB / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.007999, allocations: 323.8 kB / 1.006 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.008158, allocations: 90.69 kB / 1.006 GB, free: 8.066 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.968e-05/0.008208, allocations: 32.83 kB / 1.006 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.00822, allocations: 0 / 1.006 GB, free: 8.031 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.008367, allocations: 83.38 kB / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.008369, allocations: 0 / 1.006 GB, free: 7.938 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002626/0.008631, allocations: 149.5 kB / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.008671, allocations: 81.05 kB / 1.006 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.008871, allocations: 279.1 kB / 1.006 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.008884, allocations: 25.7 kB / 1.006 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.008948, allocations: 124.1 kB / 1.007 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.008969, allocations: 15.91 kB / 1.007 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.009006, allocations: 29.7 kB / 1.007 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.161e-05/0.009087, allocations: 334.7 kB / 1.007 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.177e-05/0.009139, allocations: 31.97 kB / 1.007 GB, free: 6.828 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.577e-05/0.009215, allocations: 110.8 kB / 1.007 GB, free: 6.695 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.782e-05/0.009303, allocations: 77.66 kB / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.009304, allocations: 0 / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001371/0.009442, allocations: 129.4 kB / 1.007 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.009454, allocations: 8 kB / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.009461, allocations: 0 / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.009472, allocations: 0 / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.319e-05/0.009545, allocations: 19.98 kB / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.00955, allocations: 0 / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.009588, allocations: 7.938 kB / 1.007 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.009595, allocations: 8.031 kB / 1.007 GB, free: 6.438 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: 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 9.572e-05/0.00969, allocations: 148.4 kB / 1.007 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.678e-05/0.009707, allocations: 15.91 kB / 1.007 GB, free: 6.27 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.009897, allocations: 131 kB / 1.008 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.009905, allocations: 4 kB / 1.008 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.00991, allocations: 0 / 1.008 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.009914, allocations: 0 / 1.008 GB, free: 6.129 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.01005, allocations: 188.6 kB / 1.008 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.01005, allocations: 0 / 1.008 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.01008, allocations: 12 kB / 1.008 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01008, allocations: 0 / 1.008 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.01009, allocations: 3.984 kB / 1.008 GB, free: 5.887 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.01009, allocations: 7.938 kB / 1.008 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01009, allocations: 192 / 1.008 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.01024, allocations: 156.9 kB / 1.008 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.945e-05/0.01026, allocations: 11.91 kB / 1.008 GB, free: 5.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.01028, allocations: 4 kB / 1.008 GB, free: 5.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.723e-05/0.01031, allocations: 7.984 kB / 1.008 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.01035, allocations: 7.984 kB / 1.008 GB, free: 5.676 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.105e-05/0.01036, allocations: 4 kB / 1.008 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001206/0.01048, allocations: 211.1 kB / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01048, allocations: 0 / 1.008 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001767/0.01066, allocations: 35.89 kB / 1.008 GB, free: 5.43 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: 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.001032/0.01169, allocations: 1.044 MB / 1.009 GB, free: 4.547 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001495/0.01184, allocations: 67.95 kB / 1.009 GB, free: 4.48 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01184, allocations: 0 / 1.009 GB, free: 4.48 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.999e-05/0.01189, allocations: 35.92 kB / 1.009 GB, free: 4.445 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.01209, allocations: 45.06 kB / 1.009 GB, free: 4.402 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001636/0.01372, allocations: 2.002 MB / 1.011 GB, free: 2.312 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.966e-05/0.01379, allocations: 114.8 kB / 1.011 GB, free: 2.18 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.784e-05/0.01385, allocations: 21.48 kB / 1.011 GB, free: 2.156 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.042e-05/0.01392, allocations: 60.41 kB / 1.012 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of SimCode: time 6.62e-07/0.01392, allocations: 0 / 1.012 GB, free: 2.098 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0808/0.09473, allocations: 5.626 MB / 1.017 GB, free: 12.55 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.326/7.42, allocations: 7.109 kB / 1.017 GB, free: 12.55 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_fmpy_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ../Buildings_13_Buildings_Utilities_Math_Examples_IntegerReplicator.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.IntegerReplicator_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.96224476955831]