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.736/2.736, allocations: 287.3 MB / 302.3 MB, free: 8.266 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.002528/0.002528, allocations: 184.3 kB / 370.8 MB, free: 10.85 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.168/2.168, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001154/0.001154, allocations: 90.95 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005076/0.0005075, allocations: 13.59 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2157, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.00133/0.2171, allocations: 0.7246 MB / 0.979 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.2191, allocations: 1.285 MB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.2193, allocations: 4 kB / 0.9803 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.2194, allocations: 15.86 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.2195, allocations: 35.86 kB / 0.9803 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009744/0.2205, allocations: 234 kB / 0.9805 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.2209, allocations: 203.6 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.2211, allocations: 65.02 kB / 0.9808 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001612/0.2213, allocations: 111.7 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.2215, allocations: 135.5 kB / 0.981 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.29e-05/0.2215, allocations: 16 kB / 0.981 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.2217, allocations: 23.98 kB / 0.9811 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.057e-05/0.2218, allocations: 47.83 kB / 0.9811 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.843e-05/0.2219, allocations: 69.58 kB / 0.9812 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.2222, allocations: 315.5 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.2222, allocations: 0 / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2223, allocations: 0 / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.2223, allocations: 0 / 0.9815 GB, free: 25.02 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.001315/0.2236, allocations: 0.5821 MB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.2237, allocations: 12.02 kB / 0.9821 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.086e-05/0.2238, allocations: 58.53 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.2239, allocations: 31.67 kB / 0.9821 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.2243, allocations: 266.5 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.741e-05/0.2244, allocations: 23.98 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.269e-05/0.2245, allocations: 24 kB / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009252/0.2254, allocations: 261.1 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.2254, allocations: 3.938 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.292e-05/0.2255, allocations: 12 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.2255, allocations: 4 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.2267, allocations: 267.5 kB / 0.983 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.2287, allocations: 0.7693 MB / 0.9837 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008435/0.2296, allocations: 238.9 kB / 0.9839 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.2296, allocations: 4.125 kB / 0.9839 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008817/0.2305, allocations: 265.1 kB / 0.9842 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 4.148e-06/0.2306, allocations: 0 / 0.9842 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.002411/0.233, allocations: 0.5938 MB / 0.9848 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.2331, allocations: 59.41 kB / 0.9848 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.2334, allocations: 225.4 kB / 0.9851 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.003e-05/0.2335, allocations: 37.7 kB / 0.9851 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.2336, allocations: 136.6 kB / 0.9852 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.441e-05/0.2337, allocations: 63.11 kB / 0.9853 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.213e-05/0.2337, allocations: 12 kB / 0.9853 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.158e-05/0.2338, allocations: 330.8 kB / 0.9856 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008213/0.2347, allocations: 195.9 kB / 0.9858 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008771/0.2356, allocations: 248 kB / 0.986 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008051/0.2364, allocations: 247.2 kB / 0.9863 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.2364, allocations: 0 / 0.9863 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002118/0.2385, allocations: 0.5631 MB / 0.9868 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-05/0.2386, allocations: 71.39 kB / 0.9869 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.2387, allocations: 0 / 0.9869 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.2387, allocations: 4 kB / 0.9869 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/0.2393, allocations: 67.89 kB / 0.9869 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.2393, allocations: 4 kB / 0.987 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009642/0.2403, allocations: 115.7 kB / 0.9871 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-05/0.2404, allocations: 23.94 kB / 0.9871 GB, free: 18.97 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.0002687/0.2406, allocations: 171.4 kB / 0.9873 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.074e-05/0.2407, allocations: 19.72 kB / 0.9873 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.533e-05/0.2408, allocations: 26.55 kB / 0.9873 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2408, allocations: 4 kB / 0.9873 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2408, allocations: 0 / 0.9873 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2408, allocations: 0 / 0.9873 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00195/0.2428, allocations: 0.8221 MB / 0.9881 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.2428, allocations: 0 / 0.9881 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004136/0.2433, allocations: 39.97 kB / 0.9881 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.2433, allocations: 0 / 0.9881 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.2433, allocations: 15.98 kB / 0.9882 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.2434, allocations: 3.938 kB / 0.9882 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2434, allocations: 7.953 kB / 0.9882 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.245, allocations: 0.52 MB / 0.9887 GB, free: 17.26 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.565e-05/0.2451, allocations: 96.83 kB / 0.9888 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.484e-05/0.2452, allocations: 7.984 kB / 0.9888 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/0.2455, allocations: 35.97 kB / 0.9888 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.2457, allocations: 27.95 kB / 0.9888 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.154e-05/0.2457, allocations: 19.94 kB / 0.9889 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001666/0.2459, allocations: 156.4 kB / 0.989 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2459, allocations: 0 / 0.989 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005556/0.2465, allocations: 79.83 kB / 0.9891 GB, free: 16.83 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.001942/0.2485, allocations: 1.083 MB / 0.9901 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001834/0.2503, allocations: 0.557 MB / 0.9907 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.2504, allocations: 0 / 0.9907 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007821/0.2512, allocations: 200.1 kB / 0.9909 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005382/0.2517, allocations: 44.41 kB / 0.9909 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.2536, allocations: 1.399 MB / 0.9923 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.2539, allocations: 0.7598 MB / 0.993 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002259/0.2541, allocations: 37.94 kB / 0.9931 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.2543, allocations: 67.41 kB / 0.9931 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of SimCode: time 1.784e-06/0.2543, allocations: 0 / 0.9931 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.2828, allocations: 5.866 MB / 0.9989 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/0.2832, allocations: 202 kB / 0.999 GB, free: 6.617 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/2.919, allocations: 3.938 kB / 0.999 GB, free: 6.613 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)