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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 108 kB / 15.6 MB, free: 132 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.00131/0.00131, allocations: 190.3 kB / 16.53 MB, free: 6.391 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.796/1.796, allocations: 205.1 MB / 222.4 MB, free: 4.629 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.828/1.828, allocations: 292.3 MB / 0.5488 GB, free: 12.86 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.001534/0.001534, allocations: 67.7 kB / 0.6715 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.303, allocations: 114.6 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.002175/0.3052, allocations: 0.6226 MB / 0.784 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.3068, allocations: 1.11 MB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.3069, allocations: 0 / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.307, allocations: 7.938 kB / 0.7851 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.516e-05/0.307, allocations: 7.922 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005061/0.3075, allocations: 126.9 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.3077, allocations: 99.88 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3078, allocations: 4 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.45e-05/0.3079, allocations: 35.97 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.617e-05/0.308, allocations: 23.91 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.308, allocations: 11.98 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.472e-05/0.3081, allocations: 19.98 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.313e-05/0.3081, allocations: 11.94 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.431e-05/0.3082, allocations: 31.91 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.3084, allocations: 83.78 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.3084, allocations: 4 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3084, allocations: 0 / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.659e-06/0.3084, allocations: 0 / 0.7855 GB, free: 11.27 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.0005003/0.3089, allocations: 389.3 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.309, allocations: 8.031 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.229e-05/0.309, allocations: 4.938 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.3092, allocations: 184.3 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.3093, allocations: 4.375 kB / 0.7861 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.3093, allocations: 12.31 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.3094, allocations: 46.25 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3094, allocations: 192 / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.3094, allocations: 3.938 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3095, allocations: 0 / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.669e-05/0.3095, allocations: 15.98 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.3099, allocations: 312.7 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.843e-05/0.31, allocations: 14.58 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.721e-05/0.31, allocations: 16.86 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.31, allocations: 0 / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.3102, allocations: 72.28 kB / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.442e-06/0.3102, allocations: 0 / 0.7866 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000189/0.3104, allocations: 61.67 kB / 0.7866 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.3104, allocations: 51.41 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.3105, allocations: 113.8 kB / 0.7868 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.3106, allocations: 29.7 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.3106, allocations: 88.05 kB / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.087e-06/0.3106, allocations: 4 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-05/0.3107, allocations: 29.7 kB / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3108, allocations: 318.8 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.414e-05/0.3109, allocations: 35.92 kB / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.165e-05/0.311, allocations: 42.56 kB / 0.7873 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.3111, allocations: 84.27 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3111, allocations: 0 / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002197/0.3113, allocations: 143.2 kB / 0.7875 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.3114, allocations: 41.69 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3114, allocations: 0 / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3114, allocations: 0 / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.819e-05/0.3114, allocations: 12.03 kB / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.3114, allocations: 0 / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002217/0.3117, allocations: 24.2 kB / 0.7876 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.875e-05/0.3117, allocations: 4 kB / 0.7876 GB, free: 8.879 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.934e-05/0.3118, allocations: 125.8 kB / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-06/0.3118, allocations: 0 / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.651e-05/0.3118, allocations: 7.891 kB / 0.7877 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.3118, allocations: 8 kB / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.3119, allocations: 0 / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3119, allocations: 0 / 0.7877 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.312, allocations: 173.5 kB / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.312, allocations: 0 / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-06/0.312, allocations: 0 / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.312, allocations: 0 / 0.7879 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.312, allocations: 3.938 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.312, allocations: 320 / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.312, allocations: 3.938 kB / 0.7879 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001057/0.3121, allocations: 96.98 kB / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.3122, allocations: 77.11 kB / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.3122, allocations: 0 / 0.7881 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.458e-05/0.3122, allocations: 4 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.399e-05/0.3123, allocations: 0 / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.3123, allocations: 0 / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.3123, allocations: 87.27 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3123, allocations: 4 kB / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002062/0.3125, allocations: 12 kB / 0.7882 GB, free: 8.184 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.0001605/0.3127, allocations: 103.2 kB / 0.7883 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.3129, allocations: 131.2 kB / 0.7884 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3129, allocations: 0 / 0.7884 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.763e-05/0.313, allocations: 12 kB / 0.7884 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.3132, allocations: 4 kB / 0.7884 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.3135, allocations: 150 kB / 0.7885 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.3138, allocations: 0.6807 MB / 0.7892 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.871e-05/0.3138, allocations: 0 / 0.7892 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.45e-05/0.3138, allocations: 15.38 kB / 0.7892 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of SimCode: time 2e-07/0.3138, allocations: 0 / 0.7892 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of Templates: time 0.003666/0.3175, allocations: 1.044 MB / 0.7902 GB, free: 5.988 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)