Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.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.RealReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator",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.0008562/0.0008561, allocations: 92 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.586/1.586, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.725/1.725, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005407/0.0005407, allocations: 13.19 kB / 0.6738 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2796, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator): time 0.000832/0.2805, allocations: 369.7 kB / 0.7878 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000897/0.2814, allocations: 0.7893 MB / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.2815, allocations: 0 / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.346e-05/0.2816, allocations: 0 / 0.7885 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.056e-05/0.2816, allocations: 7.938 kB / 0.7885 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001084/0.2817, allocations: 11.98 kB / 0.7886 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.954e-05/0.2818, allocations: 23.91 kB / 0.7886 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.048e-05/0.2819, allocations: 8 kB / 0.7886 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.247e-05/0.2819, allocations: 7.984 kB / 0.7886 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.266e-05/0.282, allocations: 11.94 kB / 0.7886 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.282, allocations: 0 / 0.7886 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/0.282, allocations: 4 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.2821, allocations: 3.984 kB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.2821, allocations: 37.64 kB / 0.7886 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.732e-05/0.2822, allocations: 19.95 kB / 0.7887 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2822, allocations: 0 / 0.7887 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2822, allocations: 0 / 0.7887 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.2822, allocations: 0 / 0.7887 GB, free: 10.56 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004435/0.2827, allocations: 347.5 kB / 0.789 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.2827, allocations: 8.031 kB / 0.789 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.514e-05/0.2827, allocations: 34.56 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.431e-05/0.2828, allocations: 4 kB / 0.789 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.2829, allocations: 171 kB / 0.7892 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.283, allocations: 4 kB / 0.7892 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.283, allocations: 0 / 0.7892 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.2832, allocations: 57.67 kB / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2832, allocations: 0 / 0.7893 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.2832, allocations: 11.88 kB / 0.7893 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.2832, allocations: 4 kB / 0.7893 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.2834, allocations: 47.95 kB / 0.7893 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.2838, allocations: 280.8 kB / 0.7896 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001062/0.2839, allocations: 38.5 kB / 0.7896 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.177e-05/0.284, allocations: 32.89 kB / 0.7897 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.284, allocations: 4 kB / 0.7897 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.2841, allocations: 30.56 kB / 0.7897 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 2.986e-06/0.2841, allocations: 3.984 kB / 0.7897 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0003291/0.2844, allocations: 85.66 kB / 0.7898 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.2845, allocations: 59.39 kB / 0.7898 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.288e-05/0.2845, allocations: 101.8 kB / 0.7899 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.2846, allocations: 29.64 kB / 0.79 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.2846, allocations: 104 kB / 0.7901 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.2846, allocations: 128 / 0.7901 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-06/0.2847, allocations: 7.938 kB / 0.7901 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.2848, allocations: 310.8 kB / 0.7904 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.243e-05/0.2849, allocations: 15.98 kB / 0.7904 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.295e-05/0.2849, allocations: 23.98 kB / 0.7904 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.958e-05/0.285, allocations: 24.03 kB / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.285, allocations: 0 / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001684/0.2852, allocations: 73.67 kB / 0.7905 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.2852, allocations: 6.812 kB / 0.7905 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2852, allocations: 0 / 0.7905 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.2852, allocations: 0 / 0.7905 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.891e-05/0.2854, allocations: 12.23 kB / 0.7905 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2854, allocations: 0 / 0.7905 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.785e-05/0.2854, allocations: 19.94 kB / 0.7905 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.2854, allocations: 0 / 0.7905 GB, free: 8.422 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.139e-05/0.2855, allocations: 117.9 kB / 0.7906 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.2856, allocations: 3.906 kB / 0.7907 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.821e-05/0.2856, allocations: 7.062 kB / 0.7907 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.2856, allocations: 0 / 0.7907 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2856, allocations: 0 / 0.7907 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.2856, allocations: 0 / 0.7907 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/0.2858, allocations: 169.5 kB / 0.7908 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2858, allocations: 0 / 0.7908 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.076e-05/0.2858, allocations: 15.98 kB / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2858, allocations: 0 / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.2858, allocations: 0 / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.2859, allocations: 0 / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2859, allocations: 0 / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.2861, allocations: 175.5 kB / 0.791 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.722e-05/0.2861, allocations: 77.11 kB / 0.7911 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.2861, allocations: 0 / 0.7911 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.701e-05/0.2862, allocations: 11.98 kB / 0.7911 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.2863, allocations: 0 / 0.7911 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-06/0.2863, allocations: 0 / 0.7911 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.286e-05/0.2863, allocations: 83.28 kB / 0.7912 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2863, allocations: 7.969 kB / 0.7912 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002021/0.2865, allocations: 4 kB / 0.7912 GB, free: 7.664 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005153/0.2871, allocations: 0.7045 MB / 0.7919 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001731/0.2872, allocations: 47.91 kB / 0.7919 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.2873, allocations: 4.094 kB / 0.7919 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.443e-05/0.2873, allocations: 23.92 kB / 0.7919 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.2876, allocations: 4 kB / 0.7919 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007564/0.2884, allocations: 406.6 kB / 0.7923 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.2887, allocations: 0.6809 MB / 0.793 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.183e-05/0.2887, allocations: 4 kB / 0.793 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.579e-05/0.2887, allocations: 19.36 kB / 0.793 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2887, allocations: 0 / 0.793 GB, free: 5.68 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0108/0.2995, allocations: 1.02 MB / 0.794 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.2998, allocations: 196.3 kB / 0.7942 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.849/2.148, allocations: 0 / 0.7942 GB, free: 4.559 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealReplicator.pipe 2>&1) Environment - environmentSimulation: