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.001444/0.001444, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001525/0.001525, allocations: 177.3 kB / 15.95 MB, free: 216 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.718/1.718, allocations: 205.4 MB / 222.1 MB, free: 5.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.922/1.922, allocations: 292.6 MB / 0.5497 GB, free: 14.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.000499/0.000499, allocations: 13.88 kB / 0.6737 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.215, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.000992/0.2161, allocations: 393.6 kB / 0.7876 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009981/0.2171, allocations: 0.8255 MB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.874e-05/0.2172, allocations: 0 / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.531e-05/0.2173, allocations: 0 / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.556e-05/0.2173, allocations: 0 / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.2175, allocations: 19.97 kB / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.902e-05/0.2175, allocations: 19.92 kB / 0.7885 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.288e-05/0.2176, allocations: 4 kB / 0.7885 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.938e-05/0.2177, allocations: 15.97 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.228e-05/0.2177, allocations: 15.92 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2178, allocations: 7.938 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.314e-05/0.2178, allocations: 4 kB / 0.7885 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.905e-05/0.2178, allocations: 7.984 kB / 0.7885 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.138e-05/0.2179, allocations: 33.64 kB / 0.7885 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.812e-05/0.2179, allocations: 31.88 kB / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2179, allocations: 0 / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2179, allocations: 0 / 0.7886 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.218, allocations: 0 / 0.7886 GB, free: 10.5 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.0004547/0.2184, allocations: 351.5 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2185, allocations: 12.03 kB / 0.7889 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.839e-05/0.2185, allocations: 34.56 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.283e-05/0.2185, allocations: 4 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.2187, allocations: 174.9 kB / 0.7891 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.2187, allocations: 0 / 0.7891 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.2187, allocations: 4 kB / 0.7891 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.2189, allocations: 77.64 kB / 0.7892 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.219, allocations: 3.938 kB / 0.7892 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.219, allocations: 0 / 0.7892 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.219, allocations: 0 / 0.7892 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.2192, allocations: 51.95 kB / 0.7893 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.2196, allocations: 280.8 kB / 0.7895 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001474/0.2198, allocations: 50.48 kB / 0.7896 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.2198, allocations: 0 / 0.7896 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.2198, allocations: 38.56 kB / 0.7896 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.2198, allocations: 0 / 0.7896 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003937/0.2202, allocations: 109.7 kB / 0.7897 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.29e-05/0.2203, allocations: 51.41 kB / 0.7898 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.133e-05/0.2204, allocations: 109.8 kB / 0.7899 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.2204, allocations: 25.7 kB / 0.7899 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.2204, allocations: 88.02 kB / 0.79 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.2204, allocations: 11.91 kB / 0.79 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.2205, allocations: 0 / 0.79 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.2206, allocations: 314.8 kB / 0.7903 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.2207, allocations: 28.02 kB / 0.7903 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-05/0.2208, allocations: 15.98 kB / 0.7903 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.775e-05/0.2209, allocations: 32.03 kB / 0.7904 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2209, allocations: 0 / 0.7904 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002067/0.2211, allocations: 77.66 kB / 0.7904 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2211, allocations: 4 kB / 0.7904 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2211, allocations: 0 / 0.7904 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.2211, allocations: 4.031 kB / 0.7904 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.2212, allocations: 15.98 kB / 0.7905 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2213, allocations: 3.938 kB / 0.7905 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.959e-05/0.2213, allocations: 15.94 kB / 0.7905 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.2213, allocations: 4 kB / 0.7905 GB, free: 8.328 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001096/0.2215, allocations: 109.8 kB / 0.7906 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.455e-05/0.2215, allocations: 11.91 kB / 0.7906 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.2215, allocations: 7.125 kB / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2215, allocations: 0 / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2215, allocations: 0 / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.2215, allocations: 0 / 0.7906 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.2217, allocations: 169.9 kB / 0.7908 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2217, allocations: 4 kB / 0.7908 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.017e-05/0.2218, allocations: 11.98 kB / 0.7908 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.2218, allocations: 4 kB / 0.7908 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.2218, allocations: 3.984 kB / 0.7908 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.2218, allocations: 4 kB / 0.7908 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2218, allocations: 0 / 0.7908 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.2221, allocations: 183.5 kB / 0.791 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.259e-05/0.2221, allocations: 77.11 kB / 0.791 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.2221, allocations: 0 / 0.791 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.732e-05/0.2222, allocations: 15.98 kB / 0.7911 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.2223, allocations: 7.875 kB / 0.7911 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.2223, allocations: 4 kB / 0.7911 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.2223, allocations: 87.27 kB / 0.7911 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2223, allocations: 0 / 0.7911 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002071/0.2225, allocations: 7.906 kB / 0.7912 GB, free: 7.535 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 (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.0005299/0.2231, allocations: 0.7125 MB / 0.7919 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002072/0.2233, allocations: 47.95 kB / 0.7919 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2233, allocations: 3.938 kB / 0.7919 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.702e-05/0.2234, allocations: 32.03 kB / 0.7919 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001493/0.2236, allocations: 4 kB / 0.7919 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008479/0.2244, allocations: 426.6 kB / 0.7923 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.2247, allocations: 0.6848 MB / 0.793 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.952e-05/0.2247, allocations: 11.95 kB / 0.793 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.759e-05/0.2248, allocations: 11.44 kB / 0.793 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of SimCode: time 1.412e-06/0.2248, allocations: 0 / 0.793 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01103/0.2358, allocations: 1.211 MB / 0.7942 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002456/0.2361, allocations: 197.4 kB / 0.7944 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.147, allocations: 4 kB / 0.7944 GB, free: 4.203 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/linux/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) Environment - environmentSimulation: