Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.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.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.773/2.773, allocations: 287.5 MB / 302.4 MB, free: 8.242 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.001417/0.001417, allocations: 188.9 kB / 371 MB, free: 10.85 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.123/2.123, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009402/0.0009401, allocations: 93.86 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00069/0.0006903, allocations: 13.62 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3044, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001854/0.3063, allocations: 0.849 MB / 0.9793 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004596/0.3109, allocations: 2.151 MB / 0.9814 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002586/0.3113, allocations: 0 / 0.9814 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.142e-05/0.3113, allocations: 7.875 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003504/0.3117, allocations: 79.38 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.006872/0.3186, allocations: 1.279 MB / 0.9827 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001916/0.3206, allocations: 0.9239 MB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.3208, allocations: 24.73 kB / 0.9837 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.3219, allocations: 431.1 kB / 0.9841 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006771/0.3226, allocations: 327.1 kB / 0.9844 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005018/0.3231, allocations: 56 kB / 0.9844 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005361/0.3237, allocations: 75.98 kB / 0.9845 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.399e-05/0.3238, allocations: 47.81 kB / 0.9846 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000423/0.3242, allocations: 125.6 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.3255, allocations: 0.6703 MB / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.3256, allocations: 0 / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.307e-06/0.3256, allocations: 4 kB / 0.9853 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.217e-05/0.3256, allocations: 0 / 0.9853 GB, free: 21.23 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.001743/0.3274, allocations: 1 MB / 0.9863 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.3275, allocations: 12.02 kB / 0.9863 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.927e-05/0.3276, allocations: 42.55 kB / 0.9864 GB, free: 20.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005118/0.3281, allocations: 67.61 kB / 0.9864 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.3283, allocations: 211.2 kB / 0.9866 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.129e-05/0.3285, allocations: 35.98 kB / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003964/0.3289, allocations: 67.98 kB / 0.9867 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004765/0.3294, allocations: 215.7 kB / 0.9869 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.3294, allocations: 0 / 0.9869 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.646e-05/0.3295, allocations: 7.984 kB / 0.9869 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.3295, allocations: 4 kB / 0.9869 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.3297, allocations: 67.78 kB / 0.987 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.3316, allocations: 0.8522 MB / 0.9878 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.3322, allocations: 327.2 kB / 0.9882 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002853/0.3325, allocations: 136.9 kB / 0.9883 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.3325, allocations: 11.92 kB / 0.9883 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001036/0.3336, allocations: 459.1 kB / 0.9887 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=45): time 4.729e-06/0.3336, allocations: 0 / 0.9887 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=45): time 0.002415/0.336, allocations: 0.5617 MB / 0.9893 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001819/0.3363, allocations: 439.2 kB / 0.9897 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004958/0.3368, allocations: 292.4 kB / 0.99 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000504/0.3373, allocations: 69.64 kB / 0.99 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003506/0.3377, allocations: 165.2 kB / 0.9902 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.3379, allocations: 90.94 kB / 0.9903 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/0.3382, allocations: 32 kB / 0.9903 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.3383, allocations: 354.8 kB / 0.9907 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002208/0.3405, allocations: 425.3 kB / 0.9911 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002567/0.3432, allocations: 0.6989 MB / 0.9917 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/0.3455, allocations: 0.8217 MB / 0.9925 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.096e-05/0.3456, allocations: 4 kB / 0.9926 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.006871/0.3525, allocations: 1.713 MB / 0.9942 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004135/0.353, allocations: 485.5 kB / 0.9947 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.153e-05/0.3531, allocations: 15.94 kB / 0.9947 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.66e-05/0.3531, allocations: 16 kB / 0.9947 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.3533, allocations: 27.86 kB / 0.9947 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.259e-05/0.3533, allocations: 19.88 kB / 0.9948 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006729/0.3601, allocations: 0.5672 MB / 0.9953 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006458/0.3608, allocations: 99.92 kB / 0.9954 GB, free: 9.773 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.000658/0.3615, allocations: 222.8 kB / 0.9956 GB, free: 9.547 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.3616, allocations: 43.52 kB / 0.9957 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.3618, allocations: 38.14 kB / 0.9957 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.3618, allocations: 8 kB / 0.9957 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/0.3619, allocations: 4 kB / 0.9957 GB, free: 9.445 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.3619, allocations: 7.984 kB / 0.9957 GB, free: 9.438 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006832/0.3626, allocations: 341.2 kB / 0.996 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.3626, allocations: 8 kB / 0.9961 GB, free: 9.047 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.974e-05/0.3627, allocations: 19.92 kB / 0.9961 GB, free: 9.027 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.63e-05/0.3628, allocations: 8 kB / 0.9961 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-05/0.3628, allocations: 15.98 kB / 0.9961 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-05/0.3628, allocations: 11.94 kB / 0.9961 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.3629, allocations: 4 kB / 0.9961 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.3642, allocations: 0.5159 MB / 0.9966 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.3644, allocations: 108.7 kB / 0.9967 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.3645, allocations: 15.98 kB / 0.9967 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.3648, allocations: 15.98 kB / 0.9967 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.365, allocations: 63.81 kB / 0.9968 GB, free: 8.195 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-05/0.3651, allocations: 31.92 kB / 0.9968 GB, free: 8.164 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002958/0.3654, allocations: 187.1 kB / 0.997 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.162e-06/0.3654, allocations: 0 / 0.997 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00187/0.3673, allocations: 200 kB / 0.9972 GB, free: 7.785 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.001735/0.3691, allocations: 1.093 MB / 0.9983 GB, free: 6.621 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004304/0.3735, allocations: 1.743 MB / 1 GB, free: 4.695 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/0.3735, allocations: 0 / 1 GB, free: 4.695 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006512/0.3742, allocations: 176.9 kB / 1 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.376, allocations: 124.3 kB / 1 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/0.3892, allocations: 3.525 MB / 1.004 GB, free: 0.6562 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.3897, allocations: 0.7761 MB / 1.004 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003519/0.3901, allocations: 42.97 kB / 1.005 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/0.3904, allocations: 111.4 kB / 1.005 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.322e-06/0.3904, allocations: 0 / 1.005 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05574/0.4461, allocations: 13.78 MB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003115/0.4465, allocations: 195.7 kB / 1.018 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.124/3.57, allocations: 0 / 1.018 GB, free: 1.938 MB / 0.6355 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)