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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.667/1.667, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.001295/0.001295, allocations: 176.4 kB / 366.7 MB, free: 1.652 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.779/1.779, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001063, allocations: 92.39 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.474e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7728/0.7729, allocations: 116.3 MB / 0.9734 GB, free: 76.17 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2184/0.9914, allocations: 138.3 MB / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.9918, allocations: 73.23 kB / 1.109 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.005728/0.9975, allocations: 1.801 MB / 1.11 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9976, allocations: 0 / 1.11 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.215e-05/0.9976, allocations: 4.688 kB / 1.11 GB, free: 9.945 MB / 0.7136 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.0004045/0.998, allocations: 368.7 kB / 1.111 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.9981, allocations: 12.75 kB / 1.111 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.947e-05/0.9981, allocations: 7.906 kB / 1.111 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.9984, allocations: 183 kB / 1.111 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.9984, allocations: 4 kB / 1.111 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.252e-05/0.9984, allocations: 4 kB / 1.111 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.575e-05/0.9985, allocations: 8.844 kB / 1.111 GB, free: 9.285 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.724e-05/0.9986, allocations: 42.41 kB / 1.111 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.238e-06/0.9986, allocations: 4 kB / 1.111 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.9986, allocations: 1.125 kB / 1.111 GB, free: 9.234 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.9986, allocations: 5.25 kB / 1.111 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.999, allocations: 281 kB / 1.111 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.305e-05/0.9991, allocations: 21.95 kB / 1.111 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/0.9991, allocations: 8.859 kB / 1.111 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.9991, allocations: 0 / 1.111 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001192/0.9992, allocations: 67.3 kB / 1.111 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.9993, allocations: 0 / 1.111 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001611/0.9994, allocations: 50.8 kB / 1.111 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.9995, allocations: 55.39 kB / 1.111 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.451e-05/0.9996, allocations: 98.16 kB / 1.111 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.9996, allocations: 25.7 kB / 1.111 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.797e-05/0.9997, allocations: 96.78 kB / 1.112 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.9997, allocations: 11.89 kB / 1.112 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.9997, allocations: 3.344 kB / 1.112 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.9998, allocations: 316.8 kB / 1.112 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.942e-05/0.9999, allocations: 28 kB / 1.112 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.646e-05/1, allocations: 42.56 kB / 1.112 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/1, allocations: 34.66 kB / 1.112 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1, allocations: 3.938 kB / 1.112 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002928/1, allocations: 109.6 kB / 1.112 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/1.001, allocations: 38.95 kB / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.001, allocations: 0 / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/1.001, allocations: 0 / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.556e-05/1.001, allocations: 8.031 kB / 1.112 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/1.001, allocations: 4 kB / 1.112 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/1.001, allocations: 39.02 kB / 1.112 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/1.001, allocations: 7.281 kB / 1.112 GB, free: 7.805 MB / 0.7136 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 () * 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.592e-05/1.001, allocations: 112.9 kB / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.597e-05/1.001, allocations: 49.69 kB / 1.112 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/1.001, allocations: 3.906 kB / 1.112 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/1.001, allocations: 12.34 kB / 1.112 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/1.001, allocations: 0 / 1.112 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/1.001, allocations: 0 / 1.112 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/1.001, allocations: 3.984 kB / 1.112 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/1.001, allocations: 142.2 kB / 1.112 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.001, allocations: 2.906 kB / 1.112 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.855e-06/1.001, allocations: 7.875 kB / 1.112 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/1.001, allocations: 0 / 1.112 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/1.001, allocations: 4 kB / 1.112 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.001, allocations: 0 / 1.112 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.001, allocations: 0 / 1.112 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.562e-05/1.001, allocations: 81.06 kB / 1.113 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-05/1.001, allocations: 81.02 kB / 1.113 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/1.001, allocations: 0 / 1.113 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.537e-05/1.001, allocations: 4 kB / 1.113 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/1.002, allocations: 4 kB / 1.113 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/1.002, allocations: 4 kB / 1.113 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.134e-05/1.002, allocations: 84.33 kB / 1.113 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.51e-07/1.002, allocations: 0 / 1.113 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002093/1.002, allocations: 20 kB / 1.113 GB, free: 7.109 MB / 0.7136 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 () * 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.0004415/1.002, allocations: 0.6279 MB / 1.113 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001763/1.002, allocations: 115.4 kB / 1.113 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.002, allocations: 0 / 1.113 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.68e-05/1.002, allocations: 15.94 kB / 1.113 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/1.003, allocations: 6.844 kB / 1.114 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/1.003, allocations: 104.2 kB / 1.114 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/1.003, allocations: 0.6846 MB / 1.114 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.266e-05/1.003, allocations: 4.469 kB / 1.114 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/1.003, allocations: 19.38 kB / 1.114 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/1.003, allocations: 0 / 1.114 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/1.025, allocations: 1.348 MB / 1.116 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002561/1.026, allocations: 160.8 kB / 1.116 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/2.588, allocations: 0 / 1.116 GB, free: 3.949 MB / 0.7136 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/linux/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)