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.713/1.713, allocations: 288.4 MB / 303.3 MB, free: 8.016 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.001062/0.001062, allocations: 186 kB / 372 MB, free: 10.26 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.772/1.772, allocations: 205.4 MB / 0.6307 GB, free: 9.918 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.0008119/0.000812, allocations: 94.34 kB / 0.7441 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.000371, allocations: 11.25 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2063, allocations: 115.3 MB / 0.9797 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.0009486/0.2073, allocations: 0.6506 MB / 0.9803 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001446/0.2088, allocations: 1.406 MB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.596e-05/0.2089, allocations: 4 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.2089, allocations: 7.875 kB / 0.9817 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.209, allocations: 39.69 kB / 0.9817 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008421/0.2099, allocations: 381.2 kB / 0.9821 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.2101, allocations: 395.1 kB / 0.9825 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.2102, allocations: 33.84 kB / 0.9825 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.2103, allocations: 143.6 kB / 0.9826 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.2104, allocations: 115.5 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.84e-05/0.2105, allocations: 20 kB / 0.9828 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.99e-05/0.2106, allocations: 35.92 kB / 0.9828 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.2106, allocations: 23.86 kB / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.932e-05/0.2107, allocations: 69.64 kB / 0.9829 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.2109, allocations: 379.2 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2109, allocations: 0 / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2109, allocations: 0 / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2109, allocations: 4 kB / 0.9833 GB, free: 23.84 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.0004845/0.2114, allocations: 0.5715 MB / 0.9838 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.2115, allocations: 12.02 kB / 0.9838 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.705e-05/0.2115, allocations: 42.55 kB / 0.9839 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.813e-05/0.2116, allocations: 35.67 kB / 0.9839 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2117, allocations: 213.8 kB / 0.9841 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.2117, allocations: 19.98 kB / 0.9841 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.591e-05/0.2118, allocations: 24 kB / 0.9841 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.212, allocations: 121 kB / 0.9843 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.212, allocations: 4 kB / 0.9843 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.212, allocations: 4 kB / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.212, allocations: 0 / 0.9843 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.924e-05/0.2121, allocations: 55.91 kB / 0.9843 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006416/0.2127, allocations: 0.8718 MB / 0.9852 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.2129, allocations: 118.4 kB / 0.9853 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.532e-05/0.2129, allocations: 55.44 kB / 0.9853 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-06/0.2129, allocations: 7.938 kB / 0.9853 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.2131, allocations: 174.6 kB / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.2131, allocations: 0 / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0003517/0.2135, allocations: 217.4 kB / 0.9857 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.2135, allocations: 148.4 kB / 0.9859 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.2137, allocations: 244.8 kB / 0.9861 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.2138, allocations: 37.7 kB / 0.9861 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.35e-05/0.2139, allocations: 132.4 kB / 0.9863 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.2139, allocations: 27.69 kB / 0.9863 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.2139, allocations: 12 kB / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.214, allocations: 330.8 kB / 0.9866 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.2142, allocations: 144.2 kB / 0.9867 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.2145, allocations: 225.6 kB / 0.987 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.2148, allocations: 254.7 kB / 0.9872 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2148, allocations: 3.953 kB / 0.9872 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006956/0.2155, allocations: 0.5545 MB / 0.9877 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.567e-05/0.2155, allocations: 134.8 kB / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.2155, allocations: 4.25 kB / 0.9879 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2156, allocations: 8 kB / 0.9879 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.378e-05/0.2156, allocations: 19.92 kB / 0.9879 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2157, allocations: 7.984 kB / 0.9879 GB, free: 18.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007018/0.2164, allocations: 157.1 kB / 0.9881 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.662e-05/0.2164, allocations: 23.98 kB / 0.9881 GB, free: 18.43 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.0001204/0.2165, allocations: 149.7 kB / 0.9882 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.65e-05/0.2166, allocations: 31.66 kB / 0.9883 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.2166, allocations: 17.25 kB / 0.9883 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.2166, allocations: 8 kB / 0.9883 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.2166, allocations: 0 / 0.9883 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.2166, allocations: 3.984 kB / 0.9883 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.2168, allocations: 257.5 kB / 0.9885 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2168, allocations: 3.938 kB / 0.9885 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.2169, allocations: 11.95 kB / 0.9885 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2169, allocations: 4 kB / 0.9886 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.2169, allocations: 7.984 kB / 0.9886 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.2169, allocations: 11.88 kB / 0.9886 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2169, allocations: 0 / 0.9886 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.2171, allocations: 217.3 kB / 0.9888 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.2172, allocations: 93.86 kB / 0.9889 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.2172, allocations: 11.95 kB / 0.9889 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.046e-05/0.2172, allocations: 3.984 kB / 0.9889 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.2173, allocations: 15.98 kB / 0.9889 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.2173, allocations: 11.94 kB / 0.9889 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.82e-05/0.2174, allocations: 168.5 kB / 0.9891 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2174, allocations: 0 / 0.9891 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002979/0.2177, allocations: 67.91 kB / 0.9891 GB, free: 17.25 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.0003862/0.2181, allocations: 0.763 MB / 0.9899 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000505/0.2186, allocations: 0.5287 MB / 0.9904 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2186, allocations: 0 / 0.9904 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.298e-05/0.2187, allocations: 68.41 kB / 0.9905 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003832/0.2191, allocations: 56.39 kB / 0.9905 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002023/0.2211, allocations: 1.618 MB / 0.9921 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.2213, allocations: 0.732 MB / 0.9928 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.205e-05/0.2214, allocations: 17.55 kB / 0.9928 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.169e-05/0.2215, allocations: 63.41 kB / 0.9929 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/0.2215, allocations: 0 / 0.9929 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.2371, allocations: 6.114 MB / 0.9989 GB, free: 7.312 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001367/0.2372, allocations: 200.9 kB / 0.999 GB, free: 7.074 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.047, allocations: 0 / 0.999 GB, free: 7.074 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)