Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_8_0_0_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_0_0_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/Buildings 8.0.0/package.mo): time 2.667/2.667, allocations: 287.5 MB / 302.4 MB, free: 8.375 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.001278/0.001278, allocations: 182.4 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.194/2.194, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000936/0.0009354, allocations: 91.3 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005156/0.0005158, allocations: 16.64 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2386, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001712/0.2404, allocations: 0.7245 MB / 0.9792 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002854/0.2433, allocations: 1.308 MB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.2435, allocations: 4 kB / 0.9805 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.2437, allocations: 11.88 kB / 0.9805 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.2438, allocations: 35.7 kB / 0.9805 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.2454, allocations: 229.7 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006022/0.246, allocations: 319.2 kB / 0.981 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.2463, allocations: 69.02 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.2466, allocations: 123.6 kB / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.2469, allocations: 127.5 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.247, allocations: 16 kB / 0.9813 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.2472, allocations: 23.98 kB / 0.9814 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.2474, allocations: 51.81 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.2475, allocations: 65.58 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005662/0.2481, allocations: 311.5 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.2482, allocations: 4 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.457e-06/0.2482, allocations: 0 / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.2482, allocations: 7.938 kB / 0.9818 GB, free: 24.87 MB / 0.6198 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.001702/0.2499, allocations: 0.5802 MB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.25, allocations: 16.02 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.2501, allocations: 54.48 kB / 0.9824 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001813/0.2503, allocations: 35.66 kB / 0.9825 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005664/0.2509, allocations: 262.5 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.168e-05/0.251, allocations: 23.98 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.2512, allocations: 24 kB / 0.9827 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.2526, allocations: 261.2 kB / 0.983 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.2526, allocations: 0 / 0.983 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.345e-05/0.2527, allocations: 8 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.2527, allocations: 4 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.2546, allocations: 267.5 kB / 0.9833 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002662/0.2573, allocations: 0.7692 MB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.2586, allocations: 223 kB / 0.9842 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000969/0.2596, allocations: 169.1 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.121e-05/0.2596, allocations: 4.188 kB / 0.9844 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001252/0.2609, allocations: 285 kB / 0.9847 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 4.278e-06/0.2609, allocations: 0 / 0.9847 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.00364/0.2646, allocations: 0.5938 MB / 0.9852 GB, free: 21.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.2647, allocations: 59.34 kB / 0.9853 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003745/0.2651, allocations: 221.4 kB / 0.9855 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.2652, allocations: 41.7 kB / 0.9856 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.2654, allocations: 132.6 kB / 0.9857 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.2656, allocations: 67.09 kB / 0.9857 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.489e-05/0.2656, allocations: 8 kB / 0.9857 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.2658, allocations: 334.8 kB / 0.9861 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.2671, allocations: 195.9 kB / 0.9863 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.2684, allocations: 255.9 kB / 0.9865 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.2697, allocations: 243.3 kB / 0.9867 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.2697, allocations: 0 / 0.9867 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00294/0.2727, allocations: 0.5669 MB / 0.9873 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.751e-05/0.2728, allocations: 67.39 kB / 0.9874 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.2728, allocations: 0 / 0.9874 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.2729, allocations: 4 kB / 0.9874 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008035/0.2737, allocations: 71.89 kB / 0.9874 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.2737, allocations: 0 / 0.9874 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.2752, allocations: 119.6 kB / 0.9875 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.2753, allocations: 19.98 kB / 0.9876 GB, free: 18.65 MB / 0.6198 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.0003667/0.2757, allocations: 168.8 kB / 0.9877 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.792e-05/0.2758, allocations: 19.72 kB / 0.9877 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.886e-05/0.276, allocations: 30.55 kB / 0.9878 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.276, allocations: 0 / 0.9878 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.276, allocations: 0 / 0.9878 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.055e-05/0.276, allocations: 4 kB / 0.9878 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002874/0.2789, allocations: 0.8183 MB / 0.9886 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.279, allocations: 0 / 0.9886 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005742/0.2796, allocations: 43.91 kB / 0.9886 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.2796, allocations: 4 kB / 0.9886 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/0.2797, allocations: 11.98 kB / 0.9886 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.2797, allocations: 0 / 0.9886 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.2797, allocations: 7.953 kB / 0.9886 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.282, allocations: 0.52 MB / 0.9891 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.867e-05/0.2821, allocations: 96.81 kB / 0.9892 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.202e-05/0.2822, allocations: 15.92 kB / 0.9892 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.2826, allocations: 31.97 kB / 0.9893 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.2828, allocations: 35.84 kB / 0.9893 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.943e-05/0.2828, allocations: 19.92 kB / 0.9893 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001643/0.283, allocations: 156.5 kB / 0.9895 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.61e-07/0.283, allocations: 0 / 0.9895 GB, free: 16.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005218/0.2835, allocations: 79.83 kB / 0.9896 GB, free: 16.5 MB / 0.6198 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.001839/0.2854, allocations: 1.083 MB / 0.9906 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001783/0.2872, allocations: 0.5532 MB / 0.9912 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2872, allocations: 0 / 0.9912 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000724/0.288, allocations: 200.1 kB / 0.9913 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006232/0.2886, allocations: 41.81 kB / 0.9914 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004861/0.2935, allocations: 1.867 MB / 0.9932 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.2937, allocations: 0.7442 MB / 0.9939 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002273/0.294, allocations: 37.92 kB / 0.994 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.2942, allocations: 67.42 kB / 0.994 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of SimCode: time 1.493e-06/0.2942, allocations: 0 / 0.994 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03611/0.3303, allocations: 5.949 MB / 0.9998 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/0.3306, allocations: 199 kB / 1 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.806/3.136, allocations: 0 / 1 GB, free: 5.777 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)