Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.RealVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",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.001343/0.001343, allocations: 108 kB / 15.61 MB, free: 152 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.001651/0.001651, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.365/1.365, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.667/1.667, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.00138/0.00138, allocations: 74.34 kB / 0.6716 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2213, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002655/0.224, allocations: 0.6429 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.2252, allocations: 0.7932 MB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.2252, allocations: 0 / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.317e-05/0.2253, allocations: 7.938 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.727e-05/0.2254, allocations: 8 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 5.327e-05/0.2255, allocations: 7.922 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000107/0.2256, allocations: 63.83 kB / 0.785 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.2257, allocations: 15.98 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.757e-05/0.2258, allocations: 27.91 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.333e-05/0.2259, allocations: 31.92 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.2259, allocations: 4 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.292e-05/0.2259, allocations: 4 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.226, allocations: 23.91 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.625e-05/0.226, allocations: 23.88 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.869e-05/0.2261, allocations: 71.77 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2261, allocations: 0 / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2262, allocations: 0 / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.2262, allocations: 3.938 kB / 0.7852 GB, free: 11.62 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006094/0.2268, allocations: 398.1 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.2268, allocations: 8.031 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.543e-05/0.2269, allocations: 42.73 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.2269, allocations: 4.844 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.2272, allocations: 184.2 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.2272, allocations: 8.375 kB / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.2272, allocations: 384 / 0.7858 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.2276, allocations: 135.8 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.2276, allocations: 3.938 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.2276, allocations: 4 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.2276, allocations: 4 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.228, allocations: 127.8 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006891/0.2287, allocations: 428.9 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002154/0.229, allocations: 93.08 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.2292, allocations: 65.7 kB / 0.7866 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.2292, allocations: 3.938 kB / 0.7866 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.2292, allocations: 30.56 kB / 0.7866 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2292, allocations: 4 kB / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.00063/0.2298, allocations: 189.4 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.2299, allocations: 77.11 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.23, allocations: 122 kB / 0.787 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.23, allocations: 30.08 kB / 0.787 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.2301, allocations: 99.97 kB / 0.7871 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.019e-05/0.2301, allocations: 7.906 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/0.2302, allocations: 17.66 kB / 0.7872 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2303, allocations: 326.8 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.2304, allocations: 47.94 kB / 0.7875 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.2306, allocations: 65.64 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.2309, allocations: 105.6 kB / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.231, allocations: 4.062 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003682/0.2313, allocations: 141.4 kB / 0.7878 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2314, allocations: 4 kB / 0.7878 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2314, allocations: 4 kB / 0.7878 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.2314, allocations: 0 / 0.7878 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.2315, allocations: 15.98 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.2315, allocations: 8.047 kB / 0.7879 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.487e-05/0.2316, allocations: 15.92 kB / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.2316, allocations: 0 / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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 7.628e-05/0.2317, allocations: 122.5 kB / 0.788 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.533e-05/0.2318, allocations: 4 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.2318, allocations: 15.52 kB / 0.788 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.2318, allocations: 7.984 kB / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2318, allocations: 0 / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2318, allocations: 7.938 kB / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.2321, allocations: 181.6 kB / 0.7882 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2321, allocations: 3.938 kB / 0.7882 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.9e-05/0.2322, allocations: 15.98 kB / 0.7882 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.2322, allocations: 0 / 0.7882 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2322, allocations: 4 kB / 0.7882 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2322, allocations: 11.92 kB / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2322, allocations: 0 / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004307/0.2327, allocations: 310.5 kB / 0.7885 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.2327, allocations: 77.11 kB / 0.7886 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.2327, allocations: 4 kB / 0.7886 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.2329, allocations: 15.97 kB / 0.7886 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.2329, allocations: 15.95 kB / 0.7886 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.233, allocations: 3.938 kB / 0.7886 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.742e-05/0.233, allocations: 99.27 kB / 0.7887 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.233, allocations: 288 / 0.7887 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002483/0.2333, allocations: 11.94 kB / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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.0008218/0.2341, allocations: 0.8326 MB / 0.7896 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004139/0.2345, allocations: 123.8 kB / 0.7897 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2345, allocations: 0 / 0.7897 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.2347, allocations: 59.92 kB / 0.7897 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.2351, allocations: 7.938 kB / 0.7897 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.237, allocations: 1.579 MB / 0.7913 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.2373, allocations: 0.7002 MB / 0.792 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.039e-05/0.2374, allocations: 15.98 kB / 0.792 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.2375, allocations: 15.44 kB / 0.792 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of SimCode: time 1.623e-06/0.2375, allocations: 0 / 0.792 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0425/0.28, allocations: 1.854 MB / 0.7938 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.143/8.423, allocations: 4.344 kB / 0.7938 GB, free: 2.367 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1)