Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.63/1.63, allocations: 288.2 MB / 303.2 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 181 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.473/1.473, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008563/0.0008563, allocations: 97.2 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004257/0.0004258, allocations: 11.75 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2483, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.0007904/0.2491, allocations: 338.1 kB / 0.9798 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.2504, allocations: 1.076 MB / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.139e-05/0.2505, allocations: 0 / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.762e-05/0.2506, allocations: 0 / 0.9809 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.632e-05/0.2506, allocations: 7.984 kB / 0.9809 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004972/0.2511, allocations: 106.2 kB / 0.981 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.756e-05/0.2512, allocations: 47.94 kB / 0.981 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.2513, allocations: 7.938 kB / 0.981 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.385e-05/0.2514, allocations: 31.91 kB / 0.9811 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.052e-05/0.2515, allocations: 27.95 kB / 0.9811 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.2515, allocations: 4 kB / 0.9811 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.977e-05/0.2516, allocations: 19.98 kB / 0.9811 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.2516, allocations: 11.92 kB / 0.9811 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.245e-05/0.2517, allocations: 29.7 kB / 0.9811 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001219/0.2518, allocations: 63.86 kB / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.2518, allocations: 0 / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2518, allocations: 0 / 0.9812 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2519, allocations: 4 kB / 0.9812 GB, free: 25.83 MB / 0.6198 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.0004284/0.2523, allocations: 365.2 kB / 0.9816 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.2524, allocations: 12.02 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.554e-05/0.2524, allocations: 30.56 kB / 0.9816 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.2525, allocations: 8 kB / 0.9816 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.2526, allocations: 190.8 kB / 0.9818 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.2527, allocations: 4 kB / 0.9818 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.2527, allocations: 4 kB / 0.9818 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.2528, allocations: 41.69 kB / 0.9818 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.2528, allocations: 0 / 0.9818 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.2528, allocations: 4 kB / 0.9818 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2529, allocations: 4 kB / 0.9818 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.069e-05/0.2529, allocations: 11.98 kB / 0.9819 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.2533, allocations: 308.7 kB / 0.9821 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.099e-05/0.2533, allocations: 18.58 kB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.66e-06/0.2533, allocations: 0 / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001431/0.2535, allocations: 59.45 kB / 0.9822 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2535, allocations: 3.938 kB / 0.9822 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001866/0.2537, allocations: 69.53 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.2537, allocations: 55.39 kB / 0.9823 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.029e-05/0.2538, allocations: 114 kB / 0.9825 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.2538, allocations: 29.69 kB / 0.9825 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.874e-05/0.2539, allocations: 88.05 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.275e-05/0.2539, allocations: 8 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.2539, allocations: 4 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.207e-05/0.254, allocations: 310.8 kB / 0.9829 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.517e-05/0.2541, allocations: 31.98 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.677e-05/0.2541, allocations: 50.61 kB / 0.983 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.252e-05/0.2542, allocations: 57.64 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2542, allocations: 3.938 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002064/0.2544, allocations: 155.4 kB / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.2545, allocations: 33.7 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.2545, allocations: 0 / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.2545, allocations: 0 / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.818e-05/0.2545, allocations: 3.984 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.2546, allocations: 4 kB / 0.9832 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.2548, allocations: 44 kB / 0.9832 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.2548, allocations: 8 kB / 0.9832 GB, free: 23.48 MB / 0.6198 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 ($PRE.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.099e-05/0.2549, allocations: 113.8 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.2549, allocations: 0 / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.255, allocations: 11.89 kB / 0.9834 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.255, allocations: 4 kB / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.255, allocations: 0 / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.255, allocations: 0 / 0.9834 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.912e-05/0.2551, allocations: 165.6 kB / 0.9835 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2551, allocations: 0 / 0.9835 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-06/0.2551, allocations: 3.984 kB / 0.9835 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.2551, allocations: 0 / 0.9835 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.2551, allocations: 0 / 0.9835 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.2552, allocations: 0 / 0.9835 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2552, allocations: 3.938 kB / 0.9835 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.866e-05/0.2553, allocations: 84.98 kB / 0.9836 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.2553, allocations: 81.11 kB / 0.9837 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.2553, allocations: 3.938 kB / 0.9837 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.47e-05/0.2553, allocations: 3.984 kB / 0.9837 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.2554, allocations: 4 kB / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.2554, allocations: 4 kB / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.319e-05/0.2554, allocations: 79.28 kB / 0.9838 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2554, allocations: 0 / 0.9838 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002009/0.2556, allocations: 19.98 kB / 0.9838 GB, free: 22.81 MB / 0.6198 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 (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.000303/0.2559, allocations: 0.624 MB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001741/0.2561, allocations: 115.4 kB / 0.9845 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2561, allocations: 0 / 0.9845 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.666e-05/0.2562, allocations: 19.92 kB / 0.9845 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.2563, allocations: 4.75 kB / 0.9845 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000477/0.2568, allocations: 0.6519 MB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.2569, allocations: 0.6926 MB / 0.9859 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.271e-05/0.257, allocations: 7.938 kB / 0.9859 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.257, allocations: 7.438 kB / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.257, allocations: 0 / 0.9859 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01267/0.2697, allocations: 1.724 MB / 0.9876 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.2699, allocations: 214.9 kB / 0.9878 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/1.875, allocations: 0 / 0.9878 GB, free: 18.78 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)