Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse",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.723/1.723, allocations: 288.4 MB / 303.3 MB, free: 8.027 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.0009619/0.0009618, allocations: 188.4 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.629/1.629, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.00096/0.00096, allocations: 96.83 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004129, allocations: 12.62 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2721, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001313/0.2735, allocations: 0.8375 MB / 0.9805 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002667/0.2762, allocations: 2.147 MB / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.2765, allocations: 0 / 0.9826 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.145e-05/0.2765, allocations: 7.875 kB / 0.9826 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.2768, allocations: 87.3 kB / 0.9827 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003245/0.28, allocations: 1.28 MB / 0.9839 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001063/0.2811, allocations: 0.9278 MB / 0.9848 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2812, allocations: 24.73 kB / 0.9849 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007839/0.282, allocations: 419.3 kB / 0.9853 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005016/0.2825, allocations: 331 kB / 0.9856 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004234/0.283, allocations: 56 kB / 0.9856 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002664/0.2832, allocations: 75.98 kB / 0.9857 GB, free: 21.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.2833, allocations: 47.83 kB / 0.9857 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.2835, allocations: 121.6 kB / 0.9859 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005708/0.2841, allocations: 0.6742 MB / 0.9865 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.2841, allocations: 0 / 0.9865 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.055e-06/0.2841, allocations: 0 / 0.9865 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.2841, allocations: 4 kB / 0.9865 GB, free: 20.54 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008641/0.285, allocations: 0.9999 MB / 0.9875 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.2851, allocations: 15.95 kB / 0.9875 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.209e-05/0.2851, allocations: 46.47 kB / 0.9876 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.2853, allocations: 63.62 kB / 0.9876 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.2854, allocations: 215.2 kB / 0.9878 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.195e-05/0.2855, allocations: 43.97 kB / 0.9879 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.2856, allocations: 63.98 kB / 0.9879 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.2859, allocations: 210.3 kB / 0.9881 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.2859, allocations: 4 kB / 0.9881 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.2859, allocations: 3.984 kB / 0.9881 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2859, allocations: 4 kB / 0.9881 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.718e-05/0.286, allocations: 67.78 kB / 0.9882 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007039/0.2867, allocations: 0.8561 MB / 0.989 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.287, allocations: 319.3 kB / 0.9893 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.2871, allocations: 140.8 kB / 0.9895 GB, free: 17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.2871, allocations: 7.938 kB / 0.9895 GB, free: 16.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000469/0.2876, allocations: 470.8 kB / 0.9899 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 1.924e-06/0.2876, allocations: 3.938 kB / 0.9899 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.000845/0.2884, allocations: 0.5534 MB / 0.9905 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.2886, allocations: 439.1 kB / 0.9909 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.2888, allocations: 292.4 kB / 0.9912 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001224/0.2889, allocations: 69.69 kB / 0.9912 GB, free: 15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.2891, allocations: 165.2 kB / 0.9914 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.032e-05/0.2892, allocations: 86.95 kB / 0.9915 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.2893, allocations: 36 kB / 0.9915 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.2894, allocations: 354.7 kB / 0.9919 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007563/0.2901, allocations: 421.3 kB / 0.9923 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008382/0.291, allocations: 0.6989 MB / 0.9929 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007983/0.2918, allocations: 0.8222 MB / 0.9937 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.2918, allocations: 4 kB / 0.9937 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002386/0.2942, allocations: 1.713 MB / 0.9954 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002275/0.2945, allocations: 483.2 kB / 0.9959 GB, free: 9.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.2945, allocations: 16 kB / 0.9959 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.287e-05/0.2945, allocations: 16 kB / 0.9959 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.931e-05/0.2946, allocations: 31.86 kB / 0.9959 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/0.2946, allocations: 23.91 kB / 0.996 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/0.2971, allocations: 0.5636 MB / 0.9965 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.2973, allocations: 99.86 kB / 0.9966 GB, free: 9.078 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.booPul_c5.y,booPul_c5.y,$whenCondition29,$whenCondition30,$PRE.booPul_b5.y,booPul_b5.y,$whenCondition27,$whenCondition28,$PRE.booPul_a5.y,booPul_a5.y,$whenCondition25,$whenCondition26,$PRE.booPul_c4.y,booPul_c4.y,$whenCondition23,$whenCondition24,$PRE.booPul_b4.y,booPul_b4.y,$whenCondition21,$whenCondition22,$PRE.booPul_a4.y,booPul_a4.y,$whenCondition19,$whenCondition20,$PRE.booPul_c3.y,booPul_c3.y,$whenCondition17,$whenCondition18,$PRE.booPul_b3.y,booPul_b3.y,$whenCondition15,$whenCondition16,$PRE.booPul_a3.y,booPul_a3.y,$whenCondition13,$whenCondition14,$PRE.booPul_c2.y,booPul_c2.y,$whenCondition11,$whenCondition12,$PRE.booPul_b2.y,booPul_b2.y,$whenCondition9,$whenCondition10,$PRE.booPul_a2.y,booPul_a2.y,$whenCondition7,$whenCondition8,$PRE.booPul_c1.y,booPul_c1.y,$whenCondition5,$whenCondition6,$PRE.booPul_b1.y,booPul_b1.y,$whenCondition3,$whenCondition4,$PRE.booPul_a1.y,booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0003684/0.2977, allocations: 225.5 kB / 0.9968 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.466e-05/0.2978, allocations: 39.53 kB / 0.9969 GB, free: 8.809 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.869e-05/0.2979, allocations: 38.14 kB / 0.9969 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.2979, allocations: 8 kB / 0.9969 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/0.2979, allocations: 4 kB / 0.9969 GB, free: 8.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.2979, allocations: 11.92 kB / 0.9969 GB, free: 8.738 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.2983, allocations: 341.2 kB / 0.9972 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.2983, allocations: 4 kB / 0.9972 GB, free: 8.352 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.2983, allocations: 19.92 kB / 0.9973 GB, free: 8.332 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.702e-06/0.2983, allocations: 8 kB / 0.9973 GB, free: 8.324 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.2984, allocations: 19.98 kB / 0.9973 GB, free: 8.305 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.134e-06/0.2984, allocations: 11.94 kB / 0.9973 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.2984, allocations: 4 kB / 0.9973 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.299, allocations: 0.5197 MB / 0.9978 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.299, allocations: 112.6 kB / 0.9979 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.642e-05/0.2991, allocations: 15.98 kB / 0.9979 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.2992, allocations: 15.98 kB / 0.998 GB, free: 7.551 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.458e-05/0.2993, allocations: 59.83 kB / 0.998 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.2993, allocations: 31.98 kB / 0.998 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001469/0.2995, allocations: 191.1 kB / 0.9982 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2995, allocations: 0 / 0.9982 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006106/0.3001, allocations: 192 kB / 0.9984 GB, free: 7.086 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0008629/0.301, allocations: 1.093 MB / 0.9995 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001822/0.3028, allocations: 1.743 MB / 1.001 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.3028, allocations: 4 kB / 1.001 GB, free: 3.992 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.3031, allocations: 183.7 kB / 1.001 GB, free: 3.812 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007035/0.3038, allocations: 118.1 kB / 1.001 GB, free: 3.695 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004886/0.3087, allocations: 3.511 MB / 1.005 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.3091, allocations: 0.7761 MB / 1.006 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001695/0.3092, allocations: 46.91 kB / 1.006 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.3094, allocations: 103.4 kB / 1.006 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of SimCode: time 1.683e-06/0.3094, allocations: 4 kB / 1.006 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.3396, allocations: 13.79 MB / 1.019 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/0.3398, allocations: 212.2 kB / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/2.703, allocations: 3.938 kB / 1.019 GB, free: 1.266 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)