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.001112/0.001112, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007766/0.007766, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.747/1.747, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0005053/0.0005053, allocations: 17.94 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.2301, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.001182/0.2313, allocations: 0.7824 MB / 0.7888 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.2329, allocations: 1.347 MB / 0.7901 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.503e-05/0.233, allocations: 4 kB / 0.7901 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.2331, allocations: 11.86 kB / 0.7901 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.565e-05/0.2332, allocations: 31.72 kB / 0.7901 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006312/0.2339, allocations: 257.2 kB / 0.7904 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.2342, allocations: 359.2 kB / 0.7907 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.2344, allocations: 73.27 kB / 0.7908 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.2345, allocations: 119.6 kB / 0.7909 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.2347, allocations: 131.5 kB / 0.791 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.2347, allocations: 12 kB / 0.791 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.012e-05/0.2348, allocations: 35.98 kB / 0.7911 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.2349, allocations: 51.81 kB / 0.7911 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.235, allocations: 149 kB / 0.7913 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.2354, allocations: 394.9 kB / 0.7916 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2354, allocations: 4 kB / 0.7916 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2354, allocations: 0 / 0.7916 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.2354, allocations: 0 / 0.7916 GB, free: 7.711 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.0009066/0.2363, allocations: 0.5765 MB / 0.7922 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2363, allocations: 12.03 kB / 0.7922 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.362e-05/0.2364, allocations: 46.73 kB / 0.7923 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.898e-05/0.2365, allocations: 28.66 kB / 0.7923 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.2368, allocations: 287.6 kB / 0.7926 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.2368, allocations: 20.38 kB / 0.7926 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.086e-05/0.2369, allocations: 32.36 kB / 0.7926 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005662/0.2374, allocations: 245.8 kB / 0.7929 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2375, allocations: 7.938 kB / 0.7929 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.2375, allocations: 23.98 kB / 0.7929 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.2375, allocations: 0 / 0.7929 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000727/0.2382, allocations: 271.5 kB / 0.7931 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.2394, allocations: 0.7653 MB / 0.7939 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005031/0.2399, allocations: 230.4 kB / 0.7941 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003918/0.2403, allocations: 173.1 kB / 0.7943 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.2403, allocations: 0 / 0.7943 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005427/0.2409, allocations: 277 kB / 0.7945 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=27): time 1.593e-06/0.2409, allocations: 0 / 0.7945 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of matching and sorting (n=27): time 0.001388/0.2423, allocations: 0.5887 MB / 0.7951 GB, free: 3.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.2423, allocations: 55.41 kB / 0.7952 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.2425, allocations: 224.1 kB / 0.7954 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.808e-05/0.2426, allocations: 37.7 kB / 0.7954 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.669e-05/0.2427, allocations: 136.5 kB / 0.7955 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.85e-05/0.2428, allocations: 71.08 kB / 0.7956 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-05/0.2428, allocations: 41.7 kB / 0.7957 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.909e-05/0.2429, allocations: 334.8 kB / 0.796 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004821/0.2434, allocations: 199.7 kB / 0.7962 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005074/0.2439, allocations: 248.1 kB / 0.7964 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008296/0.2448, allocations: 423.9 kB / 0.7968 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2448, allocations: 0 / 0.7968 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001164/0.246, allocations: 0.5718 MB / 0.7974 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.141e-05/0.246, allocations: 67.39 kB / 0.7974 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.246, allocations: 0 / 0.7974 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.2461, allocations: 4 kB / 0.7974 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.2464, allocations: 67.89 kB / 0.7975 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.2464, allocations: 7.984 kB / 0.7975 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.2469, allocations: 111.8 kB / 0.7976 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.2469, allocations: 19.98 kB / 0.7976 GB, free: 1.258 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,extIndSig1.k[5],extIndSig1.k[4],extIndSig1.k[3],extIndSig1.k[2],extIndSig1.k[1],extIndSig1.index,$PRE.extIndSig1.index,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,extIndSig.k[5],extIndSig.k[4],extIndSig.k[3],extIndSig.k[2],extIndSig.k[1],extIndSig.index,$PRE.extIndSig.index,$whenCondition1,$whenCondition6) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000164/0.2471, allocations: 163.5 kB / 0.7978 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.2472, allocations: 27.7 kB / 0.7978 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.228e-05/0.2472, allocations: 22.56 kB / 0.7978 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2472, allocations: 4 kB / 0.7978 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2472, allocations: 3.938 kB / 0.7978 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2472, allocations: 3.984 kB / 0.7978 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.2485, allocations: 0.8194 MB / 0.7986 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2485, allocations: 7.984 kB / 0.7987 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.2487, allocations: 39.95 kB / 0.7987 GB, free: 112 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.2487, allocations: 4 kB / 0.7987 GB, free: 108 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.2487, allocations: 7.984 kB / 0.7987 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.2487, allocations: 7.984 kB / 0.7987 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2487, allocations: 0 / 0.7987 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009624/0.2497, allocations: 0.5382 MB / 0.7992 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.2498, allocations: 100.8 kB / 0.7993 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.2498, allocations: 8 kB / 0.7993 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.25, allocations: 39.95 kB / 0.7994 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.911e-05/0.2501, allocations: 19.97 kB / 0.7994 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.2502, allocations: 23.98 kB / 0.7994 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001212/0.2503, allocations: 157.5 kB / 0.7996 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2503, allocations: 0 / 0.7996 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003276/0.2506, allocations: 75.89 kB / 0.7996 GB, free: 15.1 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001258/0.2519, allocations: 1.083 MB / 0.8007 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00107/0.253, allocations: 0.5531 MB / 0.8012 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.253, allocations: 4 kB / 0.8012 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004437/0.2535, allocations: 201 kB / 0.8014 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.2539, allocations: 54.67 kB / 0.8015 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004685/0.2586, allocations: 3.32 MB / 0.8047 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.2589, allocations: 0.7519 MB / 0.8055 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001311/0.259, allocations: 33.94 kB / 0.8055 GB, free: 8.918 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.2591, allocations: 71.41 kB / 0.8056 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.2592, allocations: 0 / 0.8056 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07066/0.3298, allocations: 5.883 MB / 0.8113 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/0.33, allocations: 216.1 kB / 0.8115 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/2.072, allocations: 4 kB / 0.8115 GB, free: 2.875 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/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)