Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002093/0.002093, allocations: 196.4 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.562/1.562, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.758/1.758, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002189/0.00219, allocations: 72.77 kB / 0.6716 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2719/0.2741, allocations: 114.6 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.002329/0.2765, allocations: 0.6622 MB / 0.7841 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.2778, allocations: 0.8321 MB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.611e-05/0.2779, allocations: 0 / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.278, allocations: 7.938 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.124e-05/0.2781, allocations: 3.938 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.2783, allocations: 19.97 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.501e-05/0.2784, allocations: 31.92 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2785, allocations: 11.98 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.486e-05/0.2786, allocations: 19.92 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.031e-05/0.2786, allocations: 15.98 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.2787, allocations: 4 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.361e-05/0.2787, allocations: 0 / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.2787, allocations: 11.94 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.2788, allocations: 15.92 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.2789, allocations: 35.88 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2789, allocations: 0 / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2789, allocations: 0 / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.2789, allocations: 0 / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005459/0.2795, allocations: 351.7 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.2796, allocations: 12.03 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.2796, allocations: 38.69 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.2797, allocations: 8.844 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.2798, allocations: 168.3 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.2799, allocations: 8.375 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.2799, allocations: 384 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.2801, allocations: 66.22 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2801, allocations: 3.938 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2801, allocations: 4 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.2802, allocations: 0 / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.2804, allocations: 43.95 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.2808, allocations: 284.6 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.2809, allocations: 46.55 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.303e-05/0.281, allocations: 24.91 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.281, allocations: 0 / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.2811, allocations: 42.48 kB / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2811, allocations: 0 / 0.7862 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003833/0.2815, allocations: 93.58 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.2815, allocations: 55.41 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/0.2816, allocations: 101.8 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.2816, allocations: 25.7 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.2816, allocations: 88.05 kB / 0.7865 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.2817, allocations: 4 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.2817, allocations: 17.7 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.131e-05/0.2818, allocations: 318.9 kB / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.095e-05/0.2819, allocations: 19.98 kB / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.167e-05/0.282, allocations: 19.97 kB / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.2822, allocations: 44.7 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2822, allocations: 4 kB / 0.7869 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002218/0.2824, allocations: 77.62 kB / 0.787 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.2824, allocations: 6.656 kB / 0.787 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.2824, allocations: 0 / 0.787 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.2825, allocations: 0 / 0.787 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.2826, allocations: 11.98 kB / 0.787 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2826, allocations: 0 / 0.787 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.698e-05/0.2827, allocations: 7.984 kB / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.2827, allocations: 0 / 0.787 GB, free: 9.465 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0002004/0.2829, allocations: 118.5 kB / 0.7871 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.2829, allocations: 0 / 0.7871 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.618e-05/0.2829, allocations: 11.11 kB / 0.7872 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.283, allocations: 4 kB / 0.7872 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.283, allocations: 0 / 0.7872 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.283, allocations: 0 / 0.7872 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.2832, allocations: 165.6 kB / 0.7873 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2832, allocations: 0 / 0.7873 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.375e-05/0.2833, allocations: 11.92 kB / 0.7873 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.2833, allocations: 8 kB / 0.7873 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.2833, allocations: 4 kB / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2833, allocations: 0 / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.2833, allocations: 0 / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.2836, allocations: 163.4 kB / 0.7875 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.019e-05/0.2837, allocations: 89.02 kB / 0.7876 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.2837, allocations: 4.031 kB / 0.7876 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/0.2838, allocations: 8.234 kB / 0.7876 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.2838, allocations: 3.984 kB / 0.7876 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.2839, allocations: 8 kB / 0.7876 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.965e-05/0.2839, allocations: 83.28 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2839, allocations: 3.938 kB / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000231/0.2842, allocations: 4 kB / 0.7877 GB, free: 8.691 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0006067/0.2848, allocations: 0.7045 MB / 0.7884 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.285, allocations: 43.95 kB / 0.7884 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.285, allocations: 4.094 kB / 0.7884 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.626e-05/0.2851, allocations: 19.92 kB / 0.7884 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.2854, allocations: 11.94 kB / 0.7884 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.2869, allocations: 1.261 MB / 0.7897 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.2872, allocations: 0.6807 MB / 0.7903 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.322e-05/0.2872, allocations: 4 kB / 0.7903 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.2873, allocations: 11.44 kB / 0.7904 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.2873, allocations: 0 / 0.7904 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.3051, allocations: 1.487 MB / 0.7918 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.787/8.093, allocations: 13.09 kB / 0.7918 GB, free: 4.414 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)