Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_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.779/1.779, allocations: 288.2 MB / 303.2 MB, free: 8.16 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.001121/0.001121, allocations: 183.7 kB / 371.8 MB, free: 10.27 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.773/1.773, allocations: 205.4 MB / 0.6305 GB, free: 9.992 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.0008705/0.0008705, allocations: 97.05 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004003, allocations: 16.56 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2187, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.0008599/0.2196, allocations: 0.6468 MB / 0.9801 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.2209, allocations: 1.344 MB / 0.9814 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.2209, allocations: 4 kB / 0.9814 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.2209, allocations: 11.88 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.2211, allocations: 55.83 kB / 0.9815 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007295/0.2218, allocations: 365.8 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.222, allocations: 239.6 kB / 0.9821 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2221, allocations: 33.86 kB / 0.9821 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.2222, allocations: 143.6 kB / 0.9823 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.2223, allocations: 111.6 kB / 0.9824 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.2224, allocations: 20 kB / 0.9824 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.025e-05/0.2225, allocations: 35.92 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.2225, allocations: 27.89 kB / 0.9824 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.857e-05/0.2226, allocations: 73.58 kB / 0.9825 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.2228, allocations: 375.3 kB / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2228, allocations: 0 / 0.9829 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.452e-06/0.2228, allocations: 3.938 kB / 0.9829 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2228, allocations: 0 / 0.9829 GB, free: 24.09 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004785/0.2233, allocations: 0.5638 MB / 0.9834 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.2234, allocations: 16.02 kB / 0.9834 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.925e-05/0.2234, allocations: 38.55 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.484e-05/0.2235, allocations: 35.67 kB / 0.9835 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.2236, allocations: 225.7 kB / 0.9837 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.2236, allocations: 20 kB / 0.9837 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.371e-05/0.2237, allocations: 16 kB / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.2238, allocations: 125 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.2238, allocations: 3.938 kB / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.2239, allocations: 0 / 0.9839 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2239, allocations: 4 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.787e-05/0.224, allocations: 55.91 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006642/0.2246, allocations: 0.8796 MB / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.2248, allocations: 114.4 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.2248, allocations: 11.89 kB / 0.9849 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.225, allocations: 175.5 kB / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.225, allocations: 0 / 0.9851 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0003421/0.2253, allocations: 217.4 kB / 0.9853 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.2254, allocations: 140.5 kB / 0.9854 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.2256, allocations: 244.9 kB / 0.9857 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.2256, allocations: 37.7 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.503e-05/0.2257, allocations: 128.4 kB / 0.9858 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.2257, allocations: 31.7 kB / 0.9859 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/0.2258, allocations: 8 kB / 0.9859 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.976e-05/0.2258, allocations: 330.8 kB / 0.9862 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.2261, allocations: 144.2 kB / 0.9863 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.2263, allocations: 232.5 kB / 0.9865 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.2265, allocations: 258.7 kB / 0.9868 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2265, allocations: 4 kB / 0.9868 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006567/0.2272, allocations: 0.5466 MB / 0.9873 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.542e-05/0.2273, allocations: 139 kB / 0.9875 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2273, allocations: 4 kB / 0.9875 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2273, allocations: 8 kB / 0.9875 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.804e-05/0.2274, allocations: 15.94 kB / 0.9875 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2274, allocations: 4 kB / 0.9875 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000738/0.2281, allocations: 158.2 kB / 0.9876 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.935e-05/0.2282, allocations: 23.98 kB / 0.9877 GB, free: 18.75 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001733/0.2284, allocations: 153.7 kB / 0.9878 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.141e-05/0.2285, allocations: 27.67 kB / 0.9878 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.2285, allocations: 25.23 kB / 0.9879 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2285, allocations: 4 kB / 0.9879 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2285, allocations: 0 / 0.9879 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2285, allocations: 4 kB / 0.9879 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.2288, allocations: 253.5 kB / 0.9881 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2288, allocations: 7.984 kB / 0.9881 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.2289, allocations: 7.984 kB / 0.9881 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.2289, allocations: 7.953 kB / 0.9881 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.2289, allocations: 4 kB / 0.9881 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2289, allocations: 3.938 kB / 0.9881 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2289, allocations: 0 / 0.9881 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.2293, allocations: 261.3 kB / 0.9884 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.2294, allocations: 100.9 kB / 0.9885 GB, free: 17.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.2294, allocations: 8 kB / 0.9885 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/0.2295, allocations: 4 kB / 0.9885 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.2296, allocations: 11.98 kB / 0.9885 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.2296, allocations: 19.92 kB / 0.9885 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001624/0.2298, allocations: 164.4 kB / 0.9887 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.202e-06/0.2298, allocations: 0 / 0.9887 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005444/0.2303, allocations: 75.83 kB / 0.9888 GB, free: 17.51 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006054/0.231, allocations: 0.9992 MB / 0.9897 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008089/0.2318, allocations: 0.5248 MB / 0.9902 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2318, allocations: 0 / 0.9902 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.2319, allocations: 67.92 kB / 0.9903 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005225/0.2325, allocations: 52.89 kB / 0.9904 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.2339, allocations: 2.313 MB / 0.9926 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001853/0.2341, allocations: 0.74 MB / 0.9933 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.515e-05/0.2342, allocations: 18.3 kB / 0.9934 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.973e-05/0.2343, allocations: 59.41 kB / 0.9934 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of SimCode: time 4.01e-07/0.2343, allocations: 0 / 0.9934 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/0.2563, allocations: 6.012 MB / 0.9993 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.2565, allocations: 202.2 kB / 0.9995 GB, free: 6.465 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.005, allocations: 4.062 kB / 0.9995 GB, free: 6.461 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)