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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",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.000811/0.0008109, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.00081/0.00081, allocations: 172.7 kB / 15.95 MB, free: 208 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.582/1.582, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.717/1.717, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005376/0.0005377, allocations: 21.95 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2663, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001314/0.2676, allocations: 0.7517 MB / 0.7881 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.2695, allocations: 1.305 MB / 0.7894 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.2696, allocations: 4 kB / 0.7894 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.2697, allocations: 11.86 kB / 0.7894 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.2699, allocations: 35.7 kB / 0.7895 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00083/0.2707, allocations: 229.9 kB / 0.7897 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003687/0.2711, allocations: 323.3 kB / 0.79 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.2713, allocations: 68.97 kB / 0.7901 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.2714, allocations: 119.6 kB / 0.7902 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002145/0.2717, allocations: 127.5 kB / 0.7903 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.233e-05/0.2717, allocations: 16 kB / 0.7903 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.999e-05/0.2718, allocations: 27.98 kB / 0.7903 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.14e-05/0.2719, allocations: 47.83 kB / 0.7904 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.852e-05/0.272, allocations: 65.58 kB / 0.7904 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.2723, allocations: 311.4 kB / 0.7907 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.289e-06/0.2723, allocations: 8 kB / 0.7908 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2723, allocations: 0 / 0.7908 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2724, allocations: 0 / 0.7908 GB, free: 8.395 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.001022/0.2734, allocations: 0.5841 MB / 0.7913 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.2734, allocations: 8.031 kB / 0.7913 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.732e-05/0.2735, allocations: 54.55 kB / 0.7914 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.261e-05/0.2736, allocations: 27.72 kB / 0.7914 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004205/0.274, allocations: 274.5 kB / 0.7917 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.2741, allocations: 16 kB / 0.7917 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.2741, allocations: 27.98 kB / 0.7917 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005821/0.2747, allocations: 261.2 kB / 0.792 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.2747, allocations: 0 / 0.792 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.2748, allocations: 15.97 kB / 0.792 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.2748, allocations: 7.938 kB / 0.792 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007577/0.2756, allocations: 271.5 kB / 0.7922 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.277, allocations: 0.7615 MB / 0.793 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005185/0.2776, allocations: 230.9 kB / 0.7932 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003963/0.278, allocations: 169.1 kB / 0.7934 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.175e-05/0.278, allocations: 4.188 kB / 0.7934 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006196/0.2787, allocations: 277.1 kB / 0.7936 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=27): time 1.573e-06/0.2787, allocations: 4 kB / 0.7936 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27): time 0.001556/0.2802, allocations: 0.5928 MB / 0.7942 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.2803, allocations: 55.41 kB / 0.7943 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.2805, allocations: 220.1 kB / 0.7945 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.2806, allocations: 37.7 kB / 0.7945 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.2807, allocations: 132.6 kB / 0.7946 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/0.2808, allocations: 67.09 kB / 0.7947 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.2808, allocations: 8 kB / 0.7947 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.281, allocations: 346.8 kB / 0.795 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004604/0.2814, allocations: 187.9 kB / 0.7952 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004848/0.2819, allocations: 240.2 kB / 0.7955 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004871/0.2824, allocations: 259.2 kB / 0.7957 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.2824, allocations: 0 / 0.7957 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001154/0.2836, allocations: 0.5564 MB / 0.7962 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.913e-05/0.2837, allocations: 75.33 kB / 0.7963 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.2837, allocations: 4.125 kB / 0.7963 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.2837, allocations: 4 kB / 0.7963 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.284, allocations: 63.89 kB / 0.7964 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.284, allocations: 0 / 0.7964 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004603/0.2845, allocations: 123.6 kB / 0.7965 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.416e-05/0.2846, allocations: 19.98 kB / 0.7965 GB, free: 2.172 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.0001857/0.2848, allocations: 163.5 kB / 0.7967 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.2848, allocations: 27.64 kB / 0.7967 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.499e-05/0.2849, allocations: 26.56 kB / 0.7967 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.2849, allocations: 0 / 0.7967 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2849, allocations: 4 kB / 0.7967 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.2849, allocations: 7.984 kB / 0.7967 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.2862, allocations: 0.8116 MB / 0.7975 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2862, allocations: 0 / 0.7975 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.2864, allocations: 51.95 kB / 0.7976 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2864, allocations: 0 / 0.7976 GB, free: 1.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.2864, allocations: 7.938 kB / 0.7976 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.2864, allocations: 7.984 kB / 0.7976 GB, free: 1.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2864, allocations: 4 kB / 0.7976 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009263/0.2874, allocations: 0.5345 MB / 0.7981 GB, free: 464 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.2874, allocations: 92.83 kB / 0.7982 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.051e-05/0.2875, allocations: 8 kB / 0.7982 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.2877, allocations: 31.95 kB / 0.7983 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.041e-05/0.2878, allocations: 35.95 kB / 0.7983 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.2878, allocations: 8 kB / 0.7983 GB, free: 268 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001442/0.288, allocations: 165.5 kB / 0.7985 GB, free: 104 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.288, allocations: 0 / 0.7985 GB, free: 104 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003264/0.2883, allocations: 71.84 kB / 0.7985 GB, free: 32 kB / 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.001386/0.2897, allocations: 1.079 MB / 0.7996 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.2908, allocations: 0.557 MB / 0.8001 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.2909, allocations: 4 kB / 0.8001 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004354/0.2913, allocations: 200.9 kB / 0.8003 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.2917, allocations: 48.33 kB / 0.8004 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003532/0.2952, allocations: 1.864 MB / 0.8022 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.2957, allocations: 0.752 MB / 0.8029 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001362/0.2958, allocations: 37.94 kB / 0.803 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.2959, allocations: 67.41 kB / 0.803 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of SimCode: time 7.21e-07/0.296, allocations: 0 / 0.803 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05852/0.3545, allocations: 5.946 MB / 0.8088 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003167/0.3549, allocations: 199.6 kB / 0.809 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/2.408, allocations: 0 / 0.809 GB, free: 5.285 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) Environment - environmentSimulation: