Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.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.BooleanReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",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.001361/0.001361, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001301/0.001301, allocations: 191 kB / 16.13 MB, free: 6.66 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.334/1.334, allocations: 205.1 MB / 222 MB, free: 4.746 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.582/1.582, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001558/0.001558, allocations: 63.84 kB / 0.6709 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2082, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.001654/0.2099, allocations: 0.6961 MB / 0.7835 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.2111, allocations: 1.118 MB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.2112, allocations: 0 / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.801e-05/0.2113, allocations: 3.938 kB / 0.7846 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.096e-05/0.2113, allocations: 4 kB / 0.7846 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.2117, allocations: 115 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.346e-05/0.2118, allocations: 75.88 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.577e-05/0.2119, allocations: 0 / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.139e-05/0.2119, allocations: 43.84 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.468e-05/0.212, allocations: 19.97 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.212, allocations: 4 kB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.471e-05/0.2121, allocations: 19.98 kB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.2122, allocations: 15.92 kB / 0.7849 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.2122, allocations: 27.91 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.2124, allocations: 79.78 kB / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2124, allocations: 0 / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2124, allocations: 0 / 0.785 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.2124, allocations: 0 / 0.785 GB, free: 11.69 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003741/0.2128, allocations: 385.4 kB / 0.7853 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.2128, allocations: 16.02 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.899e-05/0.2128, allocations: 34.75 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/0.2129, allocations: 8.844 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.213, allocations: 176.4 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.213, allocations: 4.359 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.2131, allocations: 8.375 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.938e-05/0.2132, allocations: 50.19 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.2132, allocations: 3.938 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.2132, allocations: 0 / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2132, allocations: 4 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.974e-05/0.2132, allocations: 15.94 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.2135, allocations: 304.8 kB / 0.7859 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.443e-05/0.2136, allocations: 30.45 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.543e-05/0.2136, allocations: 8.922 kB / 0.786 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.802e-06/0.2136, allocations: 4 kB / 0.786 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.2137, allocations: 71.28 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.2138, allocations: 0 / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001503/0.2139, allocations: 61.62 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.214, allocations: 51.41 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.437e-05/0.214, allocations: 105.8 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.214, allocations: 29.7 kB / 0.7863 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.2141, allocations: 100 kB / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.527e-06/0.2141, allocations: 7.891 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.845e-05/0.2142, allocations: 29.7 kB / 0.7864 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.867e-05/0.2143, allocations: 318.8 kB / 0.7867 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.38e-05/0.2143, allocations: 28.23 kB / 0.7867 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.768e-05/0.2144, allocations: 54.55 kB / 0.7868 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.215e-05/0.2145, allocations: 80.22 kB / 0.7869 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.2145, allocations: 4 kB / 0.7869 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000225/0.2147, allocations: 143.3 kB / 0.787 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.2148, allocations: 33.7 kB / 0.787 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.2148, allocations: 0 / 0.787 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.2148, allocations: 4 kB / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.291e-05/0.2148, allocations: 0 / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.2148, allocations: 0 / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.215, allocations: 36.05 kB / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.2151, allocations: 4 kB / 0.7871 GB, free: 9.242 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 8.249e-05/0.2152, allocations: 126.4 kB / 0.7872 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.2152, allocations: 3.906 kB / 0.7872 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.2152, allocations: 7.891 kB / 0.7872 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2152, allocations: 4 kB / 0.7872 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2152, allocations: 0 / 0.7872 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2152, allocations: 0 / 0.7872 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.2153, allocations: 165.6 kB / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2153, allocations: 0 / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.284e-06/0.2154, allocations: 0 / 0.7874 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.2154, allocations: 7.922 kB / 0.7874 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/0.2154, allocations: 0 / 0.7874 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2154, allocations: 0 / 0.7874 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2154, allocations: 4 kB / 0.7874 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.056e-05/0.2155, allocations: 77.06 kB / 0.7875 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.2155, allocations: 81.11 kB / 0.7875 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.2155, allocations: 4 kB / 0.7875 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.428e-05/0.2155, allocations: 7.984 kB / 0.7876 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.2156, allocations: 3.938 kB / 0.7876 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-06/0.2156, allocations: 3.938 kB / 0.7876 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.859e-05/0.2156, allocations: 87.34 kB / 0.7876 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.2156, allocations: 0 / 0.7876 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002/0.2158, allocations: 19.98 kB / 0.7877 GB, free: 8.547 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003288/0.2162, allocations: 0.6204 MB / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001699/0.2163, allocations: 127.3 kB / 0.7884 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2164, allocations: 0 / 0.7884 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-05/0.2164, allocations: 11.98 kB / 0.7884 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.2166, allocations: 8 kB / 0.7884 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.2178, allocations: 1.375 MB / 0.7898 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/0.218, allocations: 0.6848 MB / 0.7904 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.857e-05/0.218, allocations: 4 kB / 0.7904 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.218, allocations: 15.42 kB / 0.7904 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of SimCode: time 3.3e-07/0.218, allocations: 4 kB / 0.7904 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.254/1.472, allocations: 1.793 MB / 0.7922 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/1.473, allocations: 224.2 kB / 0.7924 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/3.146, allocations: 0 / 0.7924 GB, free: 3.598 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)