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.RealExtractSignal.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.RealExtractSignal,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.727/1.727, allocations: 288.4 MB / 303.3 MB, free: 8.129 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.001068/0.001069, allocations: 186.7 kB / 372 MB, free: 10.25 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.745/1.745, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0008219/0.0008218, allocations: 98.28 kB / 0.7441 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000511/0.0005111, allocations: 15.45 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2132, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00121/0.2145, allocations: 0.642 MB / 0.9803 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.2161, allocations: 1.263 MB / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.656e-05/0.2162, allocations: 0 / 0.9815 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.2163, allocations: 15.86 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.587e-05/0.2164, allocations: 35.66 kB / 0.9816 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000624/0.2171, allocations: 211.3 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.2173, allocations: 263.3 kB / 0.982 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.2174, allocations: 37.72 kB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.2176, allocations: 103.7 kB / 0.9821 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.2177, allocations: 79.66 kB / 0.9822 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.656e-05/0.2177, allocations: 15.98 kB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.628e-05/0.2178, allocations: 27.98 kB / 0.9823 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.2178, allocations: 31.84 kB / 0.9823 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.029e-05/0.2179, allocations: 57.58 kB / 0.9824 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.2181, allocations: 243.6 kB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.2182, allocations: 7.938 kB / 0.9826 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.316e-06/0.2182, allocations: 4 kB / 0.9826 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.2182, allocations: 0 / 0.9826 GB, free: 24.52 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008278/0.219, allocations: 0.537 MB / 0.9831 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2191, allocations: 12.02 kB / 0.9831 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.474e-05/0.2191, allocations: 42.55 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/0.2192, allocations: 19.81 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.2194, allocations: 254.4 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.2194, allocations: 12 kB / 0.9834 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.2195, allocations: 15.98 kB / 0.9835 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003888/0.2199, allocations: 186.8 kB / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.2199, allocations: 4 kB / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.2199, allocations: 4 kB / 0.9836 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.2199, allocations: 11.95 kB / 0.9837 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004558/0.2204, allocations: 163.8 kB / 0.9838 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008469/0.2212, allocations: 0.8954 MB / 0.9847 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.2215, allocations: 181 kB / 0.9849 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.2218, allocations: 112.2 kB / 0.985 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.2218, allocations: 0 / 0.985 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003587/0.2222, allocations: 203.4 kB / 0.9852 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.303e-06/0.2222, allocations: 0 / 0.9852 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.000857/0.2231, allocations: 333.5 kB / 0.9855 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.2231, allocations: 158.2 kB / 0.9856 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.2233, allocations: 203.7 kB / 0.9858 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.2233, allocations: 33.7 kB / 0.9859 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.2234, allocations: 136.2 kB / 0.986 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.2234, allocations: 27.59 kB / 0.986 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.2235, allocations: 8 kB / 0.986 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.2235, allocations: 338.8 kB / 0.9863 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003364/0.2239, allocations: 131.9 kB / 0.9865 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.2242, allocations: 195.5 kB / 0.9867 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.2246, allocations: 191.3 kB / 0.9868 GB, free: 19.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2246, allocations: 4 kB / 0.9868 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008025/0.2254, allocations: 440.7 kB / 0.9873 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.828e-05/0.2254, allocations: 72.64 kB / 0.9873 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.2255, allocations: 4 kB / 0.9873 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.2255, allocations: 4 kB / 0.9873 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.2257, allocations: 36.03 kB / 0.9874 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2257, allocations: 4 kB / 0.9874 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004486/0.2261, allocations: 103.8 kB / 0.9875 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.2262, allocations: 15.98 kB / 0.9875 GB, free: 19.08 MB / 0.6198 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,$PRE.pul.booPul.y,pul.booPul.y,$whenCondition1,$whenCondition2,$PRE.pul1.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001168/0.2263, allocations: 145.7 kB / 0.9876 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.2263, allocations: 19.81 kB / 0.9876 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.058e-05/0.2264, allocations: 20.92 kB / 0.9877 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2264, allocations: 7.938 kB / 0.9877 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2264, allocations: 0 / 0.9877 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.2264, allocations: 4 kB / 0.9877 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.2266, allocations: 249.4 kB / 0.9879 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.2266, allocations: 0 / 0.9879 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.2267, allocations: 39.91 kB / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2267, allocations: 4 kB / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.2268, allocations: 7.984 kB / 0.988 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.2268, allocations: 4 kB / 0.988 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2268, allocations: 0 / 0.988 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.2273, allocations: 284.1 kB / 0.9882 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.2273, allocations: 92.91 kB / 0.9883 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/0.2274, allocations: 8 kB / 0.9883 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.2275, allocations: 27.97 kB / 0.9884 GB, free: 18.07 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.2276, allocations: 15.98 kB / 0.9884 GB, free: 18.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.2276, allocations: 4 kB / 0.9884 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.105e-05/0.2277, allocations: 148.4 kB / 0.9885 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2277, allocations: 3.938 kB / 0.9885 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000283/0.228, allocations: 51.92 kB / 0.9886 GB, free: 17.86 MB / 0.6198 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 (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.0007658/0.2288, allocations: 0.8229 MB / 0.9894 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006962/0.2295, allocations: 402.9 kB / 0.9898 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2295, allocations: 3.938 kB / 0.9898 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002737/0.2298, allocations: 116.3 kB / 0.9899 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.2301, allocations: 39.97 kB / 0.9899 GB, free: 16.42 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.2321, allocations: 1.408 MB / 0.9913 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.2323, allocations: 0.7318 MB / 0.992 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.161e-05/0.2324, allocations: 25.41 kB / 0.992 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.656e-05/0.2324, allocations: 51.41 kB / 0.9921 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2324, allocations: 0 / 0.9921 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.2465, allocations: 4.532 MB / 0.9965 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001356/0.2467, allocations: 220.4 kB / 0.9967 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.695/1.941, allocations: 0 / 0.9967 GB, free: 9.508 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)