Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 98.92 kB / 15.05 MB, free: 1.105 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.001106/0.001106, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.4 MB / 222.1 MB, free: 5.527 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.741/1.741, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0004996/0.0004997, allocations: 16.75 kB / 0.6736 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2851, allocations: 116.3 MB / 0.7871 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001795/0.287, allocations: 0.7479 MB / 0.7879 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002195/0.2892, allocations: 1.277 MB / 0.7891 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.2893, allocations: 4 kB / 0.7891 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.2895, allocations: 7.875 kB / 0.7891 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.2896, allocations: 39.86 kB / 0.7892 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008593/0.2905, allocations: 237.7 kB / 0.7894 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.2908, allocations: 203.7 kB / 0.7896 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.2911, allocations: 65.02 kB / 0.7896 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.2913, allocations: 115.6 kB / 0.7897 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002384/0.2915, allocations: 131.5 kB / 0.7899 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.2916, allocations: 16 kB / 0.7899 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.064e-05/0.2917, allocations: 27.98 kB / 0.7899 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.061e-05/0.2917, allocations: 51.83 kB / 0.79 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.86e-05/0.2918, allocations: 65.58 kB / 0.79 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.2923, allocations: 315.4 kB / 0.7903 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2923, allocations: 0 / 0.7903 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of FrontEnd: time 5.08e-06/0.2923, allocations: 0 / 0.7903 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.487e-06/0.2923, allocations: 0 / 0.7903 GB, free: 8.637 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001201/0.2935, allocations: 0.5841 MB / 0.7909 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2936, allocations: 8.031 kB / 0.7909 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.946e-05/0.2937, allocations: 31.72 kB / 0.7909 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.294, allocations: 278.4 kB / 0.7912 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.2941, allocations: 16 kB / 0.7912 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/0.2941, allocations: 27.98 kB / 0.7912 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005752/0.2947, allocations: 253.2 kB / 0.7915 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2947, allocations: 0 / 0.7915 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.2948, allocations: 15.97 kB / 0.7915 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.2948, allocations: 8 kB / 0.7915 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007083/0.2955, allocations: 271.5 kB / 0.7918 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.2968, allocations: 0.7692 MB / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005096/0.2973, allocations: 227 kB / 0.7927 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.2973, allocations: 4.188 kB / 0.7927 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005645/0.2979, allocations: 281.1 kB / 0.793 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=27): time 1.784e-06/0.2979, allocations: 0 / 0.793 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27): time 0.001423/0.2993, allocations: 0.5851 MB / 0.7936 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.2994, allocations: 55.39 kB / 0.7936 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.2996, allocations: 216.2 kB / 0.7938 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.2997, allocations: 37.7 kB / 0.7939 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.2998, allocations: 144.5 kB / 0.794 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.955e-05/0.2999, allocations: 59.17 kB / 0.7941 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.2999, allocations: 8 kB / 0.7941 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.3001, allocations: 342.8 kB / 0.7944 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/0.3006, allocations: 199.8 kB / 0.7946 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004925/0.3011, allocations: 240.2 kB / 0.7948 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004716/0.3016, allocations: 255.3 kB / 0.7951 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3016, allocations: 0 / 0.7951 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001146/0.3027, allocations: 0.5604 MB / 0.7956 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-05/0.3028, allocations: 71.39 kB / 0.7957 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.3028, allocations: 7.938 kB / 0.7957 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3029, allocations: 0 / 0.7957 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002891/0.3032, allocations: 63.89 kB / 0.7957 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3032, allocations: 8 kB / 0.7958 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/0.3037, allocations: 123.6 kB / 0.7959 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.3037, allocations: 16 kB / 0.7959 GB, free: 2.641 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition6,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.booPul.y,pul.booPul.y,$PRE.pul1.booPul.y,pul1.booPul.y,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001873/0.3039, allocations: 167.7 kB / 0.796 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.304, allocations: 23.72 kB / 0.7961 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.252e-05/0.304, allocations: 26.55 kB / 0.7961 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.304, allocations: 4 kB / 0.7961 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.304, allocations: 0 / 0.7961 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3041, allocations: 0 / 0.7961 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.3053, allocations: 0.8184 MB / 0.7969 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3053, allocations: 0 / 0.7969 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/0.3055, allocations: 43.89 kB / 0.7969 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3055, allocations: 4 kB / 0.7969 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.3056, allocations: 8 kB / 0.797 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3056, allocations: 0 / 0.797 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3056, allocations: 0 / 0.797 GB, free: 1.488 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009484/0.3065, allocations: 0.5316 MB / 0.7975 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.3066, allocations: 100.8 kB / 0.7976 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.3067, allocations: 4 kB / 0.7976 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.3069, allocations: 39.89 kB / 0.7976 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.795e-05/0.307, allocations: 31.91 kB / 0.7976 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.307, allocations: 15.98 kB / 0.7977 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001242/0.3071, allocations: 153.6 kB / 0.7978 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3071, allocations: 0 / 0.7978 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003302/0.3075, allocations: 75.83 kB / 0.7979 GB, free: 0.5117 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: 20 ($whenCondition6,$whenCondition4,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.booPul.y,pul1.booPul.y,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 2 (extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0001985/0.3077, allocations: 135.2 kB / 0.798 GB, free: 380 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001073/0.3088, allocations: 0.5533 MB / 0.7985 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3088, allocations: 4.062 kB / 0.7985 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004272/0.3092, allocations: 199.8 kB / 0.7987 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.3095, allocations: 36.41 kB / 0.7988 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009249/0.3105, allocations: 0.5326 MB / 0.7993 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.3108, allocations: 0.7523 MB / 0.8 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001252/0.3109, allocations: 33.94 kB / 0.8001 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.311, allocations: 19.44 kB / 0.8001 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.311, allocations: 0 / 0.8001 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of Templates: time 0.006906/0.3179, allocations: 3.768 MB / 0.8038 GB, free: 10.45 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) Environment - environmentSimulation: