Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.RealExtractSignal,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.657/2.657, allocations: 287.5 MB / 302.4 MB, free: 8.27 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.001366/0.001365, allocations: 187 kB / 371 MB, free: 10.87 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.424/2.424, allocations: 205.4 MB / 0.6297 GB, free: 10.63 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.000911/0.0009108, allocations: 83.59 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004971/0.0004974, allocations: 16.27 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2129, allocations: 115.3 MB / 0.9785 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.001196/0.2142, allocations: 0.6457 MB / 0.9791 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.2161, allocations: 1.263 MB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.171e-05/0.2163, allocations: 0 / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.2164, allocations: 11.88 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000118/0.2165, allocations: 31.72 kB / 0.9804 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000914/0.2175, allocations: 206.3 kB / 0.9806 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.2178, allocations: 271.3 kB / 0.9808 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.218, allocations: 33.73 kB / 0.9809 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.2181, allocations: 103.7 kB / 0.981 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.2183, allocations: 87.66 kB / 0.981 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.864e-05/0.2183, allocations: 12 kB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.2185, allocations: 19.98 kB / 0.9811 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.559e-05/0.2185, allocations: 35.84 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.287e-05/0.2186, allocations: 57.58 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.2189, allocations: 247.6 kB / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.219, allocations: 0 / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.774e-06/0.219, allocations: 0 / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.219, allocations: 0 / 0.9814 GB, free: 25.26 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.0009718/0.22, allocations: 0.5447 MB / 0.9819 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.22, allocations: 12.02 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.947e-05/0.2201, allocations: 42.56 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.89e-05/0.2202, allocations: 23.81 kB / 0.982 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.2206, allocations: 254.4 kB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.2206, allocations: 12 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-05/0.2207, allocations: 19.94 kB / 0.9823 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005985/0.2213, allocations: 183.9 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2213, allocations: 0 / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.2213, allocations: 7.953 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.2214, allocations: 0 / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008167/0.2222, allocations: 175.8 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.2236, allocations: 0.8955 MB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.2242, allocations: 173.1 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/0.2246, allocations: 116.2 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.2247, allocations: 0 / 0.9838 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006089/0.2253, allocations: 207.4 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 2.054e-06/0.2253, allocations: 0 / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001538/0.2269, allocations: 333.7 kB / 0.9843 GB, free: 22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.087e-05/0.227, allocations: 166.3 kB / 0.9844 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.2272, allocations: 199.7 kB / 0.9846 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.499e-05/0.2273, allocations: 33.7 kB / 0.9847 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.2274, allocations: 136.2 kB / 0.9848 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.139e-05/0.2275, allocations: 27.64 kB / 0.9848 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.2275, allocations: 4 kB / 0.9848 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.16e-05/0.2276, allocations: 334.8 kB / 0.9851 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006229/0.2282, allocations: 131.9 kB / 0.9853 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006176/0.2289, allocations: 195.5 kB / 0.9855 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006009/0.2295, allocations: 195.3 kB / 0.9856 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.259e-06/0.2295, allocations: 0 / 0.9856 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001481/0.231, allocations: 440.7 kB / 0.9861 GB, free: 20.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.958e-05/0.2311, allocations: 71.39 kB / 0.9861 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.2311, allocations: 4 kB / 0.9861 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.2311, allocations: 4 kB / 0.9861 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002897/0.2314, allocations: 31.97 kB / 0.9862 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.2315, allocations: 7.938 kB / 0.9862 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008958/0.2324, allocations: 105.7 kB / 0.9863 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/0.2325, allocations: 19.97 kB / 0.9863 GB, free: 19.8 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.0001948/0.2327, allocations: 145.7 kB / 0.9864 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.2327, allocations: 15.81 kB / 0.9865 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.607e-05/0.2328, allocations: 16.94 kB / 0.9865 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2328, allocations: 7.938 kB / 0.9865 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.2328, allocations: 4 kB / 0.9865 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.2328, allocations: 3.984 kB / 0.9865 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.2331, allocations: 249.4 kB / 0.9867 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.2331, allocations: 4 kB / 0.9867 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.2334, allocations: 43.84 kB / 0.9868 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.2334, allocations: 4 kB / 0.9868 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.2334, allocations: 4 kB / 0.9868 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.2334, allocations: 8 kB / 0.9868 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2335, allocations: 0 / 0.9868 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00097/0.2344, allocations: 292.1 kB / 0.9871 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.2345, allocations: 92.92 kB / 0.9872 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.911e-05/0.2346, allocations: 4 kB / 0.9872 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/0.2348, allocations: 23.97 kB / 0.9872 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/0.2349, allocations: 23.97 kB / 0.9872 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.2349, allocations: 4 kB / 0.9872 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001483/0.2351, allocations: 148.4 kB / 0.9873 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/0.2351, allocations: 0 / 0.9873 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004306/0.2355, allocations: 47.94 kB / 0.9874 GB, free: 18.58 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.001261/0.2368, allocations: 0.8263 MB / 0.9882 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001303/0.2381, allocations: 406.5 kB / 0.9886 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.2382, allocations: 0 / 0.9886 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005058/0.2387, allocations: 104.3 kB / 0.9887 GB, free: 17.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/0.2392, allocations: 44.14 kB / 0.9887 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003663/0.2429, allocations: 1.41 MB / 0.9901 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.2432, allocations: 0.7278 MB / 0.9908 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001654/0.2433, allocations: 25.92 kB / 0.9908 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.2435, allocations: 47.42 kB / 0.9909 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of SimCode: time 1.282e-06/0.2435, allocations: 3.938 kB / 0.9909 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.2722, allocations: 4.533 MB / 0.9953 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000278/0.2725, allocations: 203 kB / 0.9955 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/2.928, allocations: 0 / 0.9955 GB, free: 10.25 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)