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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 107.1 kB / 16.29 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 184 kB / 17.22 MB, free: 5.934 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.584/1.584, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.088/2.088, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.001565/0.001565, allocations: 63.91 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3334, allocations: 114.6 MB / 0.7841 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002666/0.3361, allocations: 0.9728 MB / 0.785 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001859/0.338, allocations: 1.285 MB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.156e-05/0.338, allocations: 0 / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.3382, allocations: 11.81 kB / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.618e-05/0.3383, allocations: 47.64 kB / 0.7863 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007538/0.3391, allocations: 258.2 kB / 0.7866 GB, free: 1.301 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004343/0.3395, allocations: 339.4 kB / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.3397, allocations: 53.47 kB / 0.787 GB, free: 0.918 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.3398, allocations: 123.7 kB / 0.7871 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.34, allocations: 111.6 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.784e-05/0.3401, allocations: 28 kB / 0.7872 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.3403, allocations: 55.92 kB / 0.7873 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.23e-05/0.3404, allocations: 39.84 kB / 0.7873 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.3405, allocations: 119.5 kB / 0.7874 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004132/0.341, allocations: 339.2 kB / 0.7877 GB, free: 120 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.341, allocations: 0 / 0.7877 GB, free: 120 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.595e-06/0.341, allocations: 0 / 0.7877 GB, free: 120 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.617e-06/0.341, allocations: 0 / 0.7877 GB, free: 120 kB / 0.6544 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.659/1, allocations: 0.5613 MB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/1, allocations: 9.156 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/1, allocations: 24.8 kB / 0.7883 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/1, allocations: 251.4 kB / 0.7886 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/1.001, allocations: 11.62 kB / 0.7886 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/1.001, allocations: 16.19 kB / 0.7886 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/1.001, allocations: 177.2 kB / 0.7888 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.001, allocations: 192 / 0.7888 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/1.001, allocations: 8.625 kB / 0.7888 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/1.001, allocations: 3.062 kB / 0.7888 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/1.001, allocations: 131.1 kB / 0.7889 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008839/1.002, allocations: 0.8762 MB / 0.7898 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/1.003, allocations: 163.8 kB / 0.7899 GB, free: 47.6 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/1.003, allocations: 92.48 kB / 0.79 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/1.003, allocations: 3.797 kB / 0.79 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003651/1.003, allocations: 186.7 kB / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=11): time 1.793e-06/1.003, allocations: 2.25 kB / 0.7902 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11): time 0.0008098/1.004, allocations: 286.6 kB / 0.7905 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/1.004, allocations: 168.2 kB / 0.7906 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/1.004, allocations: 206.2 kB / 0.7908 GB, free: 47.13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/1.004, allocations: 30.58 kB / 0.7908 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.254e-05/1.004, allocations: 131 kB / 0.791 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/1.005, allocations: 30.45 kB / 0.791 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/1.005, allocations: 49.61 kB / 0.791 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.661e-05/1.005, allocations: 329.8 kB / 0.7914 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003352/1.005, allocations: 114.9 kB / 0.7915 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/1.005, allocations: 183.4 kB / 0.7916 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/1.006, allocations: 296.2 kB / 0.7919 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.006, allocations: 0 / 0.7919 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007839/1.007, allocations: 411.4 kB / 0.7923 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.374e-05/1.007, allocations: 72.91 kB / 0.7924 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/1.007, allocations: 3.781 kB / 0.7924 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/1.007, allocations: 2.625 kB / 0.7924 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/1.007, allocations: 36.5 kB / 0.7924 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.007, allocations: 7.719 kB / 0.7924 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/1.007, allocations: 72.41 kB / 0.7925 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/1.007, allocations: 12.62 kB / 0.7925 GB, free: 46.29 MB / 0.6544 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.0001154/1.008, allocations: 137.7 kB / 0.7926 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/1.008, allocations: 18.55 kB / 0.7927 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/1.008, allocations: 24.72 kB / 0.7927 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/1.008, allocations: 6.562 kB / 0.7927 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.008, allocations: 2.625 kB / 0.7927 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/1.008, allocations: 2.625 kB / 0.7927 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/1.008, allocations: 243.4 kB / 0.7929 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/1.008, allocations: 6.812 kB / 0.7929 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/1.008, allocations: 33 kB / 0.793 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/1.008, allocations: 0 / 0.793 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/1.008, allocations: 8.688 kB / 0.793 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/1.008, allocations: 9.094 kB / 0.793 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.008, allocations: 2.625 kB / 0.793 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005194/1.009, allocations: 254.9 kB / 0.7932 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/1.009, allocations: 88.3 kB / 0.7933 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/1.009, allocations: 6.438 kB / 0.7933 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/1.009, allocations: 26.09 kB / 0.7933 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/1.009, allocations: 20.98 kB / 0.7934 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/1.009, allocations: 3.938 kB / 0.7934 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001014/1.009, allocations: 151.7 kB / 0.7935 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/1.009, allocations: 0 / 0.7935 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002827/1.009, allocations: 48.03 kB / 0.7936 GB, free: 45.66 MB / 0.6544 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.0001616/1.009, allocations: 107.5 kB / 0.7937 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0007244/1.01, allocations: 374.7 kB / 0.794 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.01, allocations: 0 / 0.794 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002644/1.01, allocations: 97.41 kB / 0.7941 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/1.011, allocations: 42.94 kB / 0.7942 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005721/1.011, allocations: 327 kB / 0.7945 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/1.012, allocations: 0.7255 MB / 0.7952 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.729e-05/1.012, allocations: 26.09 kB / 0.7952 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/1.012, allocations: 16.59 kB / 0.7952 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/1.012, allocations: 0 / 0.7952 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.007003/1.019, allocations: 3.203 MB / 0.7983 GB, free: 44.4 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)