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.001674/0.001674, allocations: 108 kB / 15.6 MB, free: 132 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.001992/0.001992, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.686/1.686, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.796/1.796, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001612/0.001612, allocations: 68.55 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2742, allocations: 114.6 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.002355/0.2766, allocations: 0.6545 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.2777, allocations: 0.836 MB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.697e-05/0.2778, allocations: 4 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.2779, allocations: 3.938 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.194e-05/0.278, allocations: 7.938 kB / 0.785 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.2782, allocations: 23.91 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.514e-05/0.2783, allocations: 27.98 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2784, allocations: 7.938 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.832e-05/0.2785, allocations: 15.98 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.074e-05/0.2785, allocations: 23.91 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.2786, allocations: 4 kB / 0.7851 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.2786, allocations: 0 / 0.7851 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.694e-05/0.2787, allocations: 15.92 kB / 0.7851 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.997e-05/0.2787, allocations: 15.94 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.2789, allocations: 39.86 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2789, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2789, allocations: 0 / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.2789, allocations: 0 / 0.7851 GB, free: 11.71 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.0005616/0.2795, allocations: 343.7 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.2795, allocations: 12.03 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.499e-05/0.2796, allocations: 38.73 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.2796, allocations: 12.84 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.2798, allocations: 168.4 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.2798, allocations: 4.312 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.2799, allocations: 8.375 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.2801, allocations: 62.17 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2801, allocations: 3.938 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.2801, allocations: 0 / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2801, allocations: 0 / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.2804, allocations: 47.95 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.2808, allocations: 288.6 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.281, allocations: 38.56 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.2811, allocations: 40.81 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.2811, allocations: 0 / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.2811, allocations: 30.56 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.2811, allocations: 0 / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000412/0.2816, allocations: 85.58 kB / 0.7863 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.2816, allocations: 59.53 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.28e-05/0.2817, allocations: 105.8 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.2817, allocations: 25.7 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.381e-05/0.2818, allocations: 92.03 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.2818, allocations: 0 / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.2819, allocations: 17.72 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.282, allocations: 314.8 kB / 0.7868 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.381e-05/0.2821, allocations: 23.97 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.948e-05/0.2822, allocations: 19.98 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.2824, allocations: 44.81 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.2824, allocations: 0 / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002127/0.2826, allocations: 73.5 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.2826, allocations: 8.875 kB / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.2826, allocations: 3.938 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2827, allocations: 0 / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.2828, allocations: 11.98 kB / 0.787 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2828, allocations: 0 / 0.787 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.62e-05/0.2829, allocations: 8 kB / 0.787 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.2829, allocations: 3.984 kB / 0.787 GB, free: 9.52 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.0001706/0.2831, allocations: 113.8 kB / 0.7871 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.2831, allocations: 4 kB / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.293e-05/0.2831, allocations: 7.125 kB / 0.7871 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2831, allocations: 4 kB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2831, allocations: 0 / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2831, allocations: 0 / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.2833, allocations: 169.7 kB / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2833, allocations: 0 / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/0.2834, allocations: 11.98 kB / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2834, allocations: 0 / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.2834, allocations: 0 / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.2834, allocations: 0 / 0.7873 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2834, allocations: 4 kB / 0.7873 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.2837, allocations: 171.6 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.2837, allocations: 85.02 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.2837, allocations: 4 kB / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.82e-05/0.2838, allocations: 11.98 kB / 0.7876 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.2839, allocations: 4.031 kB / 0.7876 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.2839, allocations: 7.938 kB / 0.7876 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.004e-05/0.284, allocations: 87.27 kB / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.284, allocations: 0 / 0.7877 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002166/0.2842, allocations: 4 kB / 0.7877 GB, free: 8.746 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.0005668/0.2848, allocations: 0.7035 MB / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.285, allocations: 43.95 kB / 0.7884 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.285, allocations: 0 / 0.7884 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.589e-05/0.2851, allocations: 23.97 kB / 0.7884 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.2854, allocations: 12.09 kB / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.2869, allocations: 1.253 MB / 0.7897 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.2872, allocations: 0.6807 MB / 0.7903 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5e-05/0.2873, allocations: 8.031 kB / 0.7903 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.791e-05/0.2874, allocations: 15.42 kB / 0.7904 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of SimCode: time 2.344e-06/0.2874, allocations: 0 / 0.7904 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.3072, allocations: 1.481 MB / 0.7918 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.286/7.594, allocations: 10.77 kB / 0.7918 GB, free: 4.477 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --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)