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.001304/0.001304, allocations: 108 kB / 15.6 MB, free: 132 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.001455/0.001455, allocations: 197.3 kB / 16.53 MB, free: 6.391 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.716/1.716, allocations: 205.1 MB / 222.4 MB, free: 4.566 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.699/1.699, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001643/0.001643, allocations: 71.12 kB / 0.6716 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.2499, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002567/0.2525, allocations: 0.9892 MB / 0.7844 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001868/0.2544, allocations: 1.278 MB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.2545, allocations: 4 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001391/0.2547, allocations: 15.8 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.2548, allocations: 43.64 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008411/0.2557, allocations: 241.2 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004698/0.2561, allocations: 355.2 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.2563, allocations: 49.48 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.2566, allocations: 123.7 kB / 0.7865 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.2568, allocations: 103.6 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.399e-05/0.2569, allocations: 28 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.257, allocations: 47.98 kB / 0.7867 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.589e-05/0.2571, allocations: 39.84 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.2572, allocations: 115.4 kB / 0.7868 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004182/0.2576, allocations: 339.3 kB / 0.7871 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.2577, allocations: 0 / 0.7871 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.446e-06/0.2577, allocations: 4 kB / 0.7871 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.2577, allocations: 0 / 0.7871 GB, free: 9.594 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.0009752/0.2587, allocations: 0.5566 MB / 0.7877 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.2587, allocations: 12.03 kB / 0.7877 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.348e-05/0.2588, allocations: 38.73 kB / 0.7877 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.482e-05/0.2589, allocations: 28.66 kB / 0.7878 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.2592, allocations: 251.8 kB / 0.788 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.2593, allocations: 16.38 kB / 0.788 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.2593, allocations: 16.31 kB / 0.788 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004524/0.2598, allocations: 169 kB / 0.7882 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.2598, allocations: 3.938 kB / 0.7882 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.2598, allocations: 12 kB / 0.7882 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2599, allocations: 0 / 0.7882 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005088/0.2604, allocations: 135.8 kB / 0.7883 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.2617, allocations: 0.8837 MB / 0.7892 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.2621, allocations: 165 kB / 0.7894 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.2624, allocations: 84.3 kB / 0.7894 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.2624, allocations: 4 kB / 0.7894 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005419/0.263, allocations: 183.4 kB / 0.7896 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.853e-06/0.263, allocations: 4 kB / 0.7896 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0009975/0.264, allocations: 281.5 kB / 0.7899 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001155/0.2641, allocations: 170.2 kB / 0.79 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.2644, allocations: 203.7 kB / 0.7902 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.2645, allocations: 29.7 kB / 0.7903 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.2646, allocations: 136.2 kB / 0.7904 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.972e-05/0.2646, allocations: 27.64 kB / 0.7904 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.2648, allocations: 53.69 kB / 0.7905 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.2649, allocations: 326.8 kB / 0.7908 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/0.2653, allocations: 119.9 kB / 0.7909 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004151/0.2657, allocations: 186.3 kB / 0.7911 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006385/0.2664, allocations: 290.9 kB / 0.7914 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2664, allocations: 3.938 kB / 0.7914 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000958/0.2674, allocations: 412.5 kB / 0.7918 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.967e-05/0.2674, allocations: 71.39 kB / 0.7918 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2674, allocations: 0 / 0.7918 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.2675, allocations: 11.92 kB / 0.7918 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.2677, allocations: 36.12 kB / 0.7919 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.2677, allocations: 0 / 0.7919 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004613/0.2681, allocations: 71.91 kB / 0.7919 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.2682, allocations: 15.98 kB / 0.792 GB, free: 4.195 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.0001654/0.2684, allocations: 146.4 kB / 0.7921 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.2684, allocations: 15.81 kB / 0.7921 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.33e-05/0.2685, allocations: 20.92 kB / 0.7921 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.2685, allocations: 7.938 kB / 0.7921 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2685, allocations: 0 / 0.7921 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.2685, allocations: 0 / 0.7921 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.2688, allocations: 249.4 kB / 0.7924 GB, free: 3.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.2688, allocations: 4 kB / 0.7924 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.269, allocations: 27.97 kB / 0.7924 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.269, allocations: 8 kB / 0.7924 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.543e-05/0.269, allocations: 0 / 0.7924 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.269, allocations: 7.938 kB / 0.7924 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.269, allocations: 3.938 kB / 0.7924 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006199/0.2696, allocations: 260.1 kB / 0.7927 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-05/0.2697, allocations: 92.92 kB / 0.7928 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.906e-05/0.2698, allocations: 4 kB / 0.7928 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.2699, allocations: 19.91 kB / 0.7928 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.123e-05/0.27, allocations: 23.92 kB / 0.7928 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.27, allocations: 8 kB / 0.7928 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001206/0.2701, allocations: 152.4 kB / 0.793 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2701, allocations: 0 / 0.793 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002897/0.2704, allocations: 43.94 kB / 0.793 GB, free: 3.016 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.0008989/0.2713, allocations: 0.7995 MB / 0.7938 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008272/0.2722, allocations: 382.4 kB / 0.7941 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.2722, allocations: 448 / 0.7941 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.2725, allocations: 91.88 kB / 0.7942 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.2729, allocations: 47.69 kB / 0.7943 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003979/0.2769, allocations: 2.547 MB / 0.7968 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.2772, allocations: 0.7279 MB / 0.7975 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001085/0.2773, allocations: 25.41 kB / 0.7975 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.649e-05/0.2774, allocations: 51.36 kB / 0.7975 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of SimCode: time 6.11e-07/0.2774, allocations: 0 / 0.7975 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.2987, allocations: 4.954 MB / 0.8024 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.212, allocations: 15.84 kB / 0.8024 GB, free: 9.262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --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)