Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.622/1.622, allocations: 288.2 MB / 303.2 MB, free: 8.082 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.001182/0.001183, allocations: 189 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.4 MB / 0.6305 GB, free: 10.08 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.001183/0.001183, allocations: 94.92 kB / 0.7439 GB, free: 6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.000415, allocations: 11.97 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.231, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001225/0.2322, allocations: 0.7249 MB / 0.9802 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.2338, allocations: 1.289 MB / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.234, allocations: 0 / 0.9814 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.2341, allocations: 7.875 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.2342, allocations: 43.86 kB / 0.9815 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008242/0.2351, allocations: 242 kB / 0.9817 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.2354, allocations: 203.6 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001761/0.2356, allocations: 61.03 kB / 0.982 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.2358, allocations: 115.7 kB / 0.9821 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.236, allocations: 131.5 kB / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.074e-05/0.2361, allocations: 16 kB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.733e-05/0.2362, allocations: 31.98 kB / 0.9823 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.98e-05/0.2362, allocations: 43.83 kB / 0.9823 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.005e-05/0.2363, allocations: 65.58 kB / 0.9824 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.2366, allocations: 319.4 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2366, allocations: 0 / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.204e-06/0.2366, allocations: 0 / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.2366, allocations: 0 / 0.9827 GB, free: 24.37 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.0009755/0.2376, allocations: 0.5878 MB / 0.9832 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.2377, allocations: 12.02 kB / 0.9832 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.276e-05/0.2377, allocations: 50.55 kB / 0.9833 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.399e-05/0.2378, allocations: 31.72 kB / 0.9833 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.2382, allocations: 274.5 kB / 0.9836 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.2382, allocations: 16 kB / 0.9836 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.2383, allocations: 31.92 kB / 0.9836 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.2388, allocations: 253.4 kB / 0.9839 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2389, allocations: 0 / 0.9839 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.2389, allocations: 11.98 kB / 0.9839 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.2389, allocations: 4 kB / 0.9839 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006862/0.2396, allocations: 279.3 kB / 0.9842 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.2408, allocations: 0.7615 MB / 0.9849 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/0.2412, allocations: 234.9 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.2413, allocations: 4.188 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004974/0.2418, allocations: 275 kB / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=27): time 2.234e-06/0.2418, allocations: 0 / 0.9854 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001307/0.2431, allocations: 0.5942 MB / 0.986 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.2432, allocations: 59.39 kB / 0.986 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001761/0.2434, allocations: 224 kB / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.2434, allocations: 33.7 kB / 0.9863 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.699e-05/0.2435, allocations: 136.6 kB / 0.9864 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.2435, allocations: 63.09 kB / 0.9865 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.2436, allocations: 8 kB / 0.9865 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.793e-05/0.2436, allocations: 342.8 kB / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004524/0.2441, allocations: 191.9 kB / 0.987 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/0.2446, allocations: 240.2 kB / 0.9872 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004369/0.245, allocations: 255.2 kB / 0.9875 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.245, allocations: 0 / 0.9875 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001031/0.2461, allocations: 0.5592 MB / 0.988 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.497e-05/0.2461, allocations: 75.39 kB / 0.9881 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2461, allocations: 0 / 0.9881 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.2462, allocations: 4 kB / 0.9881 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.2464, allocations: 63.89 kB / 0.9881 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.2465, allocations: 4 kB / 0.9881 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005072/0.247, allocations: 126.5 kB / 0.9883 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.247, allocations: 19.98 kB / 0.9883 GB, free: 18.31 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.0001487/0.2472, allocations: 164.2 kB / 0.9884 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.2472, allocations: 27.7 kB / 0.9885 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.599e-05/0.2473, allocations: 22.56 kB / 0.9885 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2473, allocations: 4 kB / 0.9885 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.2473, allocations: 0 / 0.9885 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2473, allocations: 3.984 kB / 0.9885 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.2484, allocations: 0.8226 MB / 0.9893 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2484, allocations: 0 / 0.9893 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001972/0.2486, allocations: 47.94 kB / 0.9893 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.2486, allocations: 4 kB / 0.9893 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.2486, allocations: 8 kB / 0.9894 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2486, allocations: 3.938 kB / 0.9894 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.2487, allocations: 3.984 kB / 0.9894 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008436/0.2495, allocations: 0.5225 MB / 0.9899 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.2496, allocations: 96.83 kB / 0.99 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.2496, allocations: 4 kB / 0.99 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.2498, allocations: 31.95 kB / 0.99 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/0.2499, allocations: 31.95 kB / 0.99 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.869e-05/0.2499, allocations: 12 kB / 0.99 GB, free: 16.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001051/0.2501, allocations: 161.6 kB / 0.9902 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2501, allocations: 0 / 0.9902 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003391/0.2504, allocations: 75.8 kB / 0.9903 GB, free: 16.18 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.001173/0.2516, allocations: 1.095 MB / 0.9913 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009416/0.2525, allocations: 0.5609 MB / 0.9919 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.2526, allocations: 0 / 0.9919 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003898/0.253, allocations: 196.1 kB / 0.9921 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.2533, allocations: 41.89 kB / 0.9921 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.2546, allocations: 1.406 MB / 0.9935 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.2548, allocations: 0.7559 MB / 0.9942 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001608/0.2549, allocations: 41.92 kB / 0.9943 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.2551, allocations: 71.41 kB / 0.9943 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of SimCode: time 3.3e-07/0.2551, allocations: 0 / 0.9943 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.2742, allocations: 5.869 MB / 1 GB, free: 6.199 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.2745, allocations: 205.9 kB / 1 GB, free: 5.953 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.129, allocations: 0 / 1 GB, free: 5.953 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1)