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.001094/0.001094, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001069/0.001069, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.234/1.234, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.578/1.578, allocations: 292.3 MB / 0.5486 GB, free: 13.63 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.001599/0.001599, allocations: 68.61 kB / 0.6711 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2298, allocations: 114.6 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator): time 0.002046/0.2318, allocations: 0.6884 MB / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.2332, allocations: 1.103 MB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.2333, allocations: 0 / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.922e-05/0.2335, allocations: 0 / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.262e-05/0.2335, allocations: 7.938 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004927/0.234, allocations: 123.1 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.2342, allocations: 95.88 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.395e-05/0.2343, allocations: 8 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.779e-05/0.2344, allocations: 31.92 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.3e-05/0.2345, allocations: 31.94 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.2345, allocations: 8 kB / 0.785 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.304e-05/0.2346, allocations: 23.92 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.432e-05/0.2347, allocations: 15.94 kB / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.367e-05/0.2347, allocations: 27.92 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.2349, allocations: 87.77 kB / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2349, allocations: 0 / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2349, allocations: 0 / 0.7852 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.2349, allocations: 4 kB / 0.7852 GB, free: 11.52 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.0005016/0.2354, allocations: 381.4 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.2355, allocations: 12.03 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.507e-05/0.2355, allocations: 30.75 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.2356, allocations: 12.84 kB / 0.7856 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.2358, allocations: 180.4 kB / 0.7858 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.2358, allocations: 4.312 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.2358, allocations: 8.375 kB / 0.7858 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.236, allocations: 46.25 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.236, allocations: 3.938 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.236, allocations: 7.938 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.236, allocations: 3.938 kB / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.325e-05/0.236, allocations: 11.98 kB / 0.7859 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.2364, allocations: 304.8 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.73e-05/0.2365, allocations: 22.52 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.584e-05/0.2365, allocations: 20.91 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-06/0.2365, allocations: 0 / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.2367, allocations: 63.3 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.2367, allocations: 0 / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0001883/0.2369, allocations: 57.67 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.2369, allocations: 59.34 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.084e-05/0.237, allocations: 109.8 kB / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.2371, allocations: 29.7 kB / 0.7865 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.2371, allocations: 92.05 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.2372, allocations: 3.906 kB / 0.7866 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.2372, allocations: 29.7 kB / 0.7866 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.2373, allocations: 326.8 kB / 0.7869 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.684e-05/0.2374, allocations: 23.98 kB / 0.7869 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.629e-05/0.2375, allocations: 46.88 kB / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.2376, allocations: 88.44 kB / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.2376, allocations: 0 / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002288/0.2379, allocations: 147.3 kB / 0.7872 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.103e-05/0.2379, allocations: 37.69 kB / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2379, allocations: 0 / 0.7873 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.2379, allocations: 4 kB / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-05/0.238, allocations: 4.094 kB / 0.7873 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.238, allocations: 0 / 0.7873 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.2382, allocations: 23.97 kB / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.06e-05/0.2382, allocations: 7.984 kB / 0.7873 GB, free: 9.078 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 9.114e-05/0.2383, allocations: 121.8 kB / 0.7874 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.2383, allocations: 3.906 kB / 0.7874 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.727e-05/0.2384, allocations: 11.91 kB / 0.7874 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2384, allocations: 4 kB / 0.7874 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2384, allocations: 0 / 0.7874 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2384, allocations: 0 / 0.7874 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.2385, allocations: 165.6 kB / 0.7876 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.2385, allocations: 0 / 0.7876 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.255e-06/0.2385, allocations: 7.875 kB / 0.7876 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2385, allocations: 3.938 kB / 0.7876 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.2386, allocations: 0 / 0.7876 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2386, allocations: 4 kB / 0.7876 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2386, allocations: 0 / 0.7876 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.895e-05/0.2387, allocations: 85.05 kB / 0.7877 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.589e-05/0.2387, allocations: 77.11 kB / 0.7878 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.2387, allocations: 4 kB / 0.7878 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.225e-05/0.2387, allocations: 0 / 0.7878 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.26e-05/0.2388, allocations: 0 / 0.7878 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.2388, allocations: 4 kB / 0.7878 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.263e-05/0.2388, allocations: 87.27 kB / 0.7878 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2388, allocations: 0 / 0.7878 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002026/0.239, allocations: 12 kB / 0.7879 GB, free: 8.395 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.000382/0.2394, allocations: 0.6318 MB / 0.7885 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.2396, allocations: 119.3 kB / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2397, allocations: 0 / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.74e-05/0.2397, allocations: 12 kB / 0.7886 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001877/0.2399, allocations: 12.36 kB / 0.7886 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.2412, allocations: 1.381 MB / 0.79 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.2415, allocations: 0.6846 MB / 0.7906 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.81e-05/0.2415, allocations: 4 kB / 0.7906 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.072e-05/0.2415, allocations: 11.44 kB / 0.7906 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2415, allocations: 3.938 kB / 0.7906 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.245/1.487, allocations: 1.874 MB / 0.7925 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/1.487, allocations: 222.4 kB / 0.7927 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/3.189, allocations: 0 / 0.7927 GB, free: 3.383 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)