Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",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.001185/0.001185, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 190.6 kB / 16.64 MB, free: 6.594 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.347/1.347, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.669/1.669, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.002182/0.002182, allocations: 69.69 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2216, allocations: 114.5 MB / 0.7836 GB, free: 13.23 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002313/0.2239, allocations: 0.985 MB / 0.7846 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.2257, allocations: 1.278 MB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.084e-05/0.2258, allocations: 11.94 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.2259, allocations: 15.81 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.226, allocations: 39.64 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007186/0.2268, allocations: 254.7 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004083/0.2272, allocations: 347.3 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.2273, allocations: 49.53 kB / 0.7865 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.2275, allocations: 119.7 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.2277, allocations: 123.5 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.087e-05/0.2277, allocations: 32 kB / 0.7868 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.29e-05/0.2278, allocations: 47.92 kB / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.9e-05/0.2279, allocations: 31.86 kB / 0.7869 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.228, allocations: 127.5 kB / 0.787 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003518/0.2284, allocations: 339.2 kB / 0.7873 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2284, allocations: 0 / 0.7873 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2284, allocations: 0 / 0.7873 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.133e-05/0.2284, allocations: 0 / 0.7873 GB, free: 9.441 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001077/0.2295, allocations: 0.5605 MB / 0.7879 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.2296, allocations: 8.031 kB / 0.7879 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.602e-05/0.2296, allocations: 46.73 kB / 0.7879 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.253e-05/0.2297, allocations: 28.66 kB / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.2301, allocations: 247.9 kB / 0.7882 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.2302, allocations: 16.31 kB / 0.7882 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.219e-05/0.2302, allocations: 16.38 kB / 0.7882 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.2307, allocations: 177 kB / 0.7884 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.2307, allocations: 3.938 kB / 0.7884 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.2307, allocations: 4 kB / 0.7884 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2308, allocations: 0 / 0.7884 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005056/0.2313, allocations: 131.8 kB / 0.7885 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.2326, allocations: 0.8798 MB / 0.7894 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003795/0.233, allocations: 161 kB / 0.7895 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.2333, allocations: 92.23 kB / 0.7896 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.2333, allocations: 0 / 0.7896 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004777/0.2338, allocations: 183.4 kB / 0.7898 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 3.256e-06/0.2338, allocations: 3.984 kB / 0.7898 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0009456/0.2348, allocations: 289.1 kB / 0.7901 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.059e-05/0.2349, allocations: 170.5 kB / 0.7902 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.2351, allocations: 199.7 kB / 0.7904 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.73e-05/0.2351, allocations: 33.69 kB / 0.7905 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.2352, allocations: 132.2 kB / 0.7906 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.2353, allocations: 31.62 kB / 0.7906 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.2354, allocations: 53.69 kB / 0.7907 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.2356, allocations: 326.8 kB / 0.791 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005707/0.2362, allocations: 119.9 kB / 0.7911 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/0.2368, allocations: 175.6 kB / 0.7913 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009971/0.2378, allocations: 302.9 kB / 0.7915 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.413e-06/0.2379, allocations: 4 kB / 0.7915 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001442/0.2393, allocations: 400.5 kB / 0.7919 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.451e-05/0.2394, allocations: 71.39 kB / 0.792 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.2394, allocations: 4 kB / 0.792 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.909e-05/0.2395, allocations: 7.938 kB / 0.792 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.2398, allocations: 35.83 kB / 0.792 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/0.2398, allocations: 8.156 kB / 0.7921 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006486/0.2405, allocations: 71.92 kB / 0.7921 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/0.2405, allocations: 11.98 kB / 0.7921 GB, free: 4.039 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * 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.0002214/0.2408, allocations: 146.4 kB / 0.7923 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/0.2409, allocations: 19.81 kB / 0.7923 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.68e-05/0.2409, allocations: 24.92 kB / 0.7923 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.974e-06/0.241, allocations: 3.938 kB / 0.7923 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.241, allocations: 4 kB / 0.7923 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.241, allocations: 0 / 0.7923 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/0.2414, allocations: 245.5 kB / 0.7926 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.2414, allocations: 0 / 0.7926 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.2416, allocations: 27.97 kB / 0.7926 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.2417, allocations: 0 / 0.7926 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.2417, allocations: 11.98 kB / 0.7926 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.2417, allocations: 7.938 kB / 0.7926 GB, free: 3.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.2417, allocations: 4 kB / 0.7926 GB, free: 3.496 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009336/0.2427, allocations: 252.1 kB / 0.7928 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.897e-05/0.2428, allocations: 100.9 kB / 0.7929 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.2428, allocations: 4 kB / 0.7929 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002004/0.243, allocations: 23.91 kB / 0.793 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.442e-05/0.2431, allocations: 19.98 kB / 0.793 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.2432, allocations: 4 kB / 0.793 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002161/0.2434, allocations: 156.1 kB / 0.7931 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3e-07/0.2434, allocations: 0 / 0.7931 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005838/0.244, allocations: 47.94 kB / 0.7932 GB, free: 2.852 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001524/0.2455, allocations: 0.7951 MB / 0.794 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001485/0.247, allocations: 370.5 kB / 0.7943 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2471, allocations: 7.938 kB / 0.7943 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005759/0.2477, allocations: 97.02 kB / 0.7944 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.2483, allocations: 48.05 kB / 0.7945 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006742/0.2551, allocations: 2.554 MB / 0.797 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/0.2556, allocations: 0.7318 MB / 0.7977 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001841/0.2558, allocations: 25.41 kB / 0.7977 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.2559, allocations: 51.42 kB / 0.7977 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of SimCode: time 7.62e-07/0.2559, allocations: 0 / 0.7977 GB, free: 13.92 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03086/0.2868, allocations: 4.978 MB / 0.8026 GB, free: 9.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/8.071, allocations: 4.312 kB / 0.8026 GB, free: 9.09 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)