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.001518/0.001518, allocations: 101.4 kB / 15.7 MB, free: 0 / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 189.6 kB / 16.64 MB, free: 5.477 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.455/1.455, allocations: 205.1 MB / 222.5 MB, free: 4.398 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.802/1.802, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001524/0.001524, allocations: 73.44 kB / 0.6718 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2417, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.002105/0.2439, allocations: 0.6697 MB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009164/0.2448, allocations: 0.8321 MB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.2449, allocations: 4 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.38e-05/0.245, allocations: 3.938 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.939e-05/0.245, allocations: 3.938 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.2452, allocations: 15.98 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.754e-05/0.2453, allocations: 35.91 kB / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.2454, allocations: 11.98 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.531e-05/0.2454, allocations: 19.92 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.238e-05/0.2455, allocations: 15.92 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.2455, allocations: 4 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.2455, allocations: 0 / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.444e-05/0.2456, allocations: 11.98 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.144e-05/0.2456, allocations: 19.92 kB / 0.7853 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.841e-05/0.2457, allocations: 39.81 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2458, allocations: 0 / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2458, allocations: 0 / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2458, allocations: 4 kB / 0.7853 GB, free: 11.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005611/0.2463, allocations: 343.7 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.2464, allocations: 12.03 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.653e-05/0.2464, allocations: 38.69 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.2465, allocations: 8.844 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001798/0.2467, allocations: 168.4 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.2467, allocations: 384 / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.2467, allocations: 8.375 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.2469, allocations: 70.2 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2469, allocations: 3.938 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.247, allocations: 0 / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.247, allocations: 0 / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.2472, allocations: 47.89 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003891/0.2476, allocations: 288.6 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.2477, allocations: 42.56 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.337e-05/0.2478, allocations: 24.89 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.2478, allocations: 4 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.2479, allocations: 34.5 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2479, allocations: 0 / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003603/0.2482, allocations: 85.64 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.2483, allocations: 55.41 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.182e-05/0.2484, allocations: 105.8 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.2484, allocations: 29.64 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.2484, allocations: 88.05 kB / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.2484, allocations: 0 / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.596e-05/0.2485, allocations: 25.83 kB / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.2486, allocations: 314.8 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/0.2487, allocations: 19.98 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.424e-05/0.2488, allocations: 19.91 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.249, allocations: 40.83 kB / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.249, allocations: 8.062 kB / 0.7871 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002008/0.2492, allocations: 69.56 kB / 0.7872 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2492, allocations: 7.984 kB / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2492, allocations: 0 / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2492, allocations: 0 / 0.7872 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.2493, allocations: 8 kB / 0.7872 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2493, allocations: 3.984 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.3e-05/0.2494, allocations: 8.031 kB / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.2494, allocations: 4 kB / 0.7872 GB, free: 9.379 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.0001458/0.2496, allocations: 122.4 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.2496, allocations: 0 / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.2496, allocations: 7.125 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.2496, allocations: 4.25 kB / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2496, allocations: 0 / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.2497, allocations: 4 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.2498, allocations: 165.6 kB / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2498, allocations: 4 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.689e-05/0.2499, allocations: 7.984 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2499, allocations: 4 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.2499, allocations: 0 / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2499, allocations: 3.938 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.25, allocations: 0 / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.2502, allocations: 171.4 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.2503, allocations: 85.02 kB / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.2503, allocations: 3.984 kB / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.831e-05/0.2504, allocations: 7.938 kB / 0.7878 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.2505, allocations: 7.984 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.2505, allocations: 7.938 kB / 0.7878 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.044e-05/0.2505, allocations: 83.28 kB / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2505, allocations: 0 / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002116/0.2507, allocations: 4 kB / 0.7879 GB, free: 8.602 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.2513, allocations: 0.7007 MB / 0.7885 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.2515, allocations: 43.98 kB / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2516, allocations: 0 / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.038e-05/0.2517, allocations: 23.92 kB / 0.7886 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.2519, allocations: 11.98 kB / 0.7886 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.2534, allocations: 1.253 MB / 0.7898 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.2537, allocations: 0.6807 MB / 0.7905 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.322e-05/0.2538, allocations: 4 kB / 0.7905 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/0.2538, allocations: 19.42 kB / 0.7905 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2539, allocations: 0 / 0.7905 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01772/0.2716, allocations: 1.504 MB / 0.792 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.409/7.681, allocations: 15.61 kB / 0.792 GB, free: 4.324 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)