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.001233/0.001233, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001573/0.001573, allocations: 190.3 kB / 16.25 MB, free: 6.637 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.328/1.328, allocations: 205.1 MB / 222.1 MB, free: 4.664 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.586/1.586, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001613/0.001613, allocations: 71 kB / 0.6711 GB, free: 26.56 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2427, allocations: 114.5 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.001874/0.2446, allocations: 0.7232 MB / 0.7837 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008425/0.2454, allocations: 0.8293 MB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.2455, allocations: 7.938 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.986e-05/0.2456, allocations: 3.984 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.115e-05/0.2456, allocations: 3.938 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001457/0.2458, allocations: 12 kB / 0.7845 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.921e-05/0.2459, allocations: 35.92 kB / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/0.246, allocations: 11.97 kB / 0.7846 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.475e-05/0.246, allocations: 15.94 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.447e-05/0.2461, allocations: 15.98 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.2461, allocations: 4 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.315e-05/0.2461, allocations: 4 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.2462, allocations: 7.922 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.817e-05/0.2462, allocations: 19.92 kB / 0.7846 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.471e-05/0.2463, allocations: 35.88 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2463, allocations: 4 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2463, allocations: 0 / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.2463, allocations: 3.938 kB / 0.7847 GB, free: 12.03 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.0004289/0.2468, allocations: 351.7 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2468, allocations: 8.031 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.89e-05/0.2469, allocations: 34.75 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.2469, allocations: 8.844 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.247, allocations: 176.2 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.247, allocations: 4.375 kB / 0.7852 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.2471, allocations: 8.375 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.2472, allocations: 62.22 kB / 0.7853 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2473, allocations: 3.938 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.2473, allocations: 0 / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.2473, allocations: 4 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.2475, allocations: 43.95 kB / 0.7854 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.2478, allocations: 284.6 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.2479, allocations: 42.55 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.972e-05/0.248, allocations: 24.91 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.248, allocations: 0 / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.2481, allocations: 34.56 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.2481, allocations: 0 / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003345/0.2484, allocations: 93.56 kB / 0.7858 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.2484, allocations: 51.41 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.031e-05/0.2485, allocations: 105.8 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.2485, allocations: 29.83 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.2486, allocations: 88.05 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.2486, allocations: 0 / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.2486, allocations: 17.72 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2487, allocations: 318.8 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.171e-05/0.2488, allocations: 19.98 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.2489, allocations: 15.98 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.2491, allocations: 48.88 kB / 0.7865 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.2491, allocations: 256 / 0.7865 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001839/0.2493, allocations: 77.44 kB / 0.7865 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2493, allocations: 4 kB / 0.7866 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2493, allocations: 4 kB / 0.7866 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2493, allocations: 8.016 kB / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.15e-05/0.2494, allocations: 11.98 kB / 0.7866 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.2494, allocations: 0 / 0.7866 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.887e-05/0.2495, allocations: 11.98 kB / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.2495, allocations: 0 / 0.7866 GB, free: 9.836 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 9.319e-05/0.2496, allocations: 113.8 kB / 0.7867 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.2496, allocations: 0 / 0.7867 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.2496, allocations: 11.12 kB / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.2497, allocations: 7.938 kB / 0.7867 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2497, allocations: 3.984 kB / 0.7867 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2497, allocations: 0 / 0.7867 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.2498, allocations: 165.6 kB / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.2498, allocations: 0 / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.693e-05/0.2499, allocations: 8 kB / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2499, allocations: 0 / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.2499, allocations: 7.922 kB / 0.7869 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2499, allocations: 0 / 0.7869 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2499, allocations: 0 / 0.7869 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.2502, allocations: 171.5 kB / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.037e-05/0.2502, allocations: 81.02 kB / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.2502, allocations: 0 / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.932e-05/0.2503, allocations: 11.98 kB / 0.7871 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.2504, allocations: 4 kB / 0.7871 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.908e-06/0.2504, allocations: 0 / 0.7871 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.034e-05/0.2504, allocations: 91.3 kB / 0.7872 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2504, allocations: 0 / 0.7872 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002041/0.2506, allocations: 4 kB / 0.7872 GB, free: 9.07 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.0004881/0.2511, allocations: 0.7064 MB / 0.7879 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.2513, allocations: 39.97 kB / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2513, allocations: 0 / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.601e-05/0.2514, allocations: 23.97 kB / 0.788 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.2517, allocations: 7.938 kB / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.2529, allocations: 1.272 MB / 0.7892 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.2532, allocations: 0.6807 MB / 0.7899 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.028e-05/0.2532, allocations: 8.016 kB / 0.7899 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.051e-05/0.2533, allocations: 15.44 kB / 0.7899 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of SimCode: time 3.7e-07/0.2533, allocations: 0 / 0.7899 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9811/1.234, allocations: 1.343 MB / 0.7912 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/1.235, allocations: 216.3 kB / 0.7914 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.942, allocations: 0 / 0.7914 GB, free: 4.727 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)