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.001118/0.001118, allocations: 105.4 kB / 15.7 MB, free: 20 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.001231/0.001231, allocations: 196.4 kB / 16.64 MB, free: 6.59 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.501/1.501, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.773/1.773, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001588/0.001588, allocations: 66.41 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2522, allocations: 114.5 MB / 0.7837 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00215/0.2543, allocations: 0.9772 MB / 0.7846 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.2559, allocations: 1.278 MB / 0.7859 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.07e-05/0.256, allocations: 0 / 0.7859 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.2561, allocations: 23.73 kB / 0.7859 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.554e-05/0.2562, allocations: 35.7 kB / 0.7859 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006745/0.2569, allocations: 254.9 kB / 0.7862 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003763/0.2573, allocations: 351.2 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.2575, allocations: 45.53 kB / 0.7865 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001546/0.2576, allocations: 127.7 kB / 0.7867 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.2578, allocations: 119.5 kB / 0.7868 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.2579, allocations: 28 kB / 0.7868 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.264e-05/0.258, allocations: 47.98 kB / 0.7868 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.4e-05/0.258, allocations: 43.78 kB / 0.7869 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.2582, allocations: 115.5 kB / 0.787 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004002/0.2586, allocations: 335.3 kB / 0.7873 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.2586, allocations: 4 kB / 0.7873 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2586, allocations: 0 / 0.7873 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.2586, allocations: 0 / 0.7873 GB, free: 9.492 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.0008735/0.2595, allocations: 0.5643 MB / 0.7879 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2595, allocations: 11.97 kB / 0.7879 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.2596, allocations: 38.75 kB / 0.7879 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.82e-05/0.2596, allocations: 28.66 kB / 0.7879 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.2599, allocations: 255.9 kB / 0.7882 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.26, allocations: 12.38 kB / 0.7882 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.26, allocations: 12.38 kB / 0.7882 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.2604, allocations: 181 kB / 0.7884 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2604, allocations: 3.938 kB / 0.7884 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.2605, allocations: 4 kB / 0.7884 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2605, allocations: 4 kB / 0.7884 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004648/0.2609, allocations: 127.8 kB / 0.7885 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.262, allocations: 0.8837 MB / 0.7894 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003285/0.2623, allocations: 165 kB / 0.7895 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.2626, allocations: 88.23 kB / 0.7896 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.2626, allocations: 4 kB / 0.7896 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004374/0.263, allocations: 187.4 kB / 0.7898 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.693e-06/0.2631, allocations: 0 / 0.7898 GB, free: 6.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0008855/0.2639, allocations: 285.1 kB / 0.7901 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.742e-05/0.264, allocations: 162.5 kB / 0.7902 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.2642, allocations: 207.7 kB / 0.7904 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.2643, allocations: 29.7 kB / 0.7905 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.725e-05/0.2644, allocations: 136.2 kB / 0.7906 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.2644, allocations: 27.64 kB / 0.7906 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.2645, allocations: 57.62 kB / 0.7907 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2647, allocations: 330.8 kB / 0.791 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003452/0.265, allocations: 119.9 kB / 0.7911 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.2654, allocations: 176.6 kB / 0.7913 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00059/0.266, allocations: 294.9 kB / 0.7915 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.266, allocations: 0 / 0.7915 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009195/0.2669, allocations: 404.6 kB / 0.7919 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.486e-05/0.267, allocations: 75.39 kB / 0.792 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.267, allocations: 4 kB / 0.792 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.2671, allocations: 7.938 kB / 0.792 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.2673, allocations: 31.91 kB / 0.792 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.2673, allocations: 0 / 0.792 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.2677, allocations: 76.03 kB / 0.7921 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.2677, allocations: 15.98 kB / 0.7921 GB, free: 4.086 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.0001495/0.2679, allocations: 141.1 kB / 0.7923 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.2679, allocations: 19.8 kB / 0.7923 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.268, allocations: 20.94 kB / 0.7923 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.268, allocations: 7.938 kB / 0.7923 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.268, allocations: 0 / 0.7923 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.268, allocations: 8.391 kB / 0.7923 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.2683, allocations: 245.5 kB / 0.7926 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2683, allocations: 4 kB / 0.7926 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.2684, allocations: 27.97 kB / 0.7926 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.2684, allocations: 7.938 kB / 0.7926 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.2685, allocations: 0 / 0.7926 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.2685, allocations: 7.938 kB / 0.7926 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2685, allocations: 4 kB / 0.7926 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005868/0.2691, allocations: 260.2 kB / 0.7929 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.193e-05/0.2691, allocations: 92.92 kB / 0.7929 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.632e-05/0.2692, allocations: 4 kB / 0.7929 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.2693, allocations: 23.91 kB / 0.793 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.945e-05/0.2694, allocations: 11.98 kB / 0.793 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.2694, allocations: 15.98 kB / 0.793 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001215/0.2695, allocations: 152.2 kB / 0.7931 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2695, allocations: 0 / 0.7931 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002885/0.2698, allocations: 47.94 kB / 0.7932 GB, free: 2.902 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.0008745/0.2707, allocations: 0.8028 MB / 0.794 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007834/0.2715, allocations: 374.5 kB / 0.7943 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.2715, allocations: 0 / 0.7943 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.2718, allocations: 96.38 kB / 0.7944 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003677/0.2722, allocations: 43.95 kB / 0.7945 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0037/0.2759, allocations: 2.555 MB / 0.797 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.2762, allocations: 0.724 MB / 0.7977 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.77e-05/0.2763, allocations: 29.41 kB / 0.7977 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.463e-05/0.2764, allocations: 47.42 kB / 0.7977 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.2764, allocations: 3.938 kB / 0.7977 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.2978, allocations: 4.974 MB / 0.8026 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/7.968, allocations: 9.312 kB / 0.8026 GB, free: 9.137 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)