Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.717/2.717, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.001567/0.001566, allocations: 177.1 kB / 370.8 MB, free: 10.88 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.208/2.208, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001629/0.001629, allocations: 86.42 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005149/0.0005151, allocations: 17.12 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2092, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001181/0.2105, allocations: 0.6583 MB / 0.979 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.2125, allocations: 1.336 MB / 0.9803 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.2126, allocations: 4 kB / 0.9803 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.091e-05/0.2127, allocations: 11.86 kB / 0.9803 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.2129, allocations: 51.83 kB / 0.9803 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.2144, allocations: 368.4 kB / 0.9807 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003849/0.2148, allocations: 239.6 kB / 0.9809 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.2149, allocations: 37.84 kB / 0.9809 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.2151, allocations: 143.6 kB / 0.9811 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000186/0.2153, allocations: 111.6 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.109e-05/0.2154, allocations: 20 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.2156, allocations: 35.97 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/0.2156, allocations: 23.86 kB / 0.9813 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.731e-05/0.2157, allocations: 73.58 kB / 0.9813 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004257/0.2161, allocations: 375.2 kB / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.2162, allocations: 0 / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.225e-06/0.2162, allocations: 0 / 0.9817 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.2162, allocations: 4 kB / 0.9817 GB, free: 24.79 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.0007261/0.2169, allocations: 0.5676 MB / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.217, allocations: 16.02 kB / 0.9823 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.217, allocations: 38.55 kB / 0.9823 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.2172, allocations: 35.67 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.2174, allocations: 217.7 kB / 0.9825 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.591e-05/0.2174, allocations: 15.98 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.303e-05/0.2175, allocations: 20 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.2178, allocations: 129 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2178, allocations: 0 / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.2178, allocations: 4 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.2178, allocations: 3.984 kB / 0.9827 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.218, allocations: 63.86 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.2192, allocations: 0.8679 MB / 0.9836 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.2194, allocations: 118.4 kB / 0.9837 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.2194, allocations: 0 / 0.9837 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003377/0.2198, allocations: 183.8 kB / 0.9839 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.2198, allocations: 0 / 0.9839 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0006842/0.2205, allocations: 221.4 kB / 0.9841 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.985e-05/0.2206, allocations: 136.5 kB / 0.9842 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.2208, allocations: 240.9 kB / 0.9845 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.273e-05/0.2209, allocations: 37.7 kB / 0.9845 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.2211, allocations: 136.4 kB / 0.9846 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.2211, allocations: 31.7 kB / 0.9847 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.231e-05/0.2212, allocations: 7.938 kB / 0.9847 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.551e-05/0.2213, allocations: 338.8 kB / 0.985 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004493/0.2217, allocations: 136.2 kB / 0.9851 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004791/0.2222, allocations: 230.6 kB / 0.9853 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004614/0.2227, allocations: 258.7 kB / 0.9856 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2227, allocations: 4 kB / 0.9856 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001397/0.2241, allocations: 0.5506 MB / 0.9861 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.2243, allocations: 134.8 kB / 0.9863 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.2243, allocations: 4 kB / 0.9863 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.2244, allocations: 4 kB / 0.9863 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.2245, allocations: 15.92 kB / 0.9863 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.2245, allocations: 4.25 kB / 0.9863 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.2261, allocations: 157.9 kB / 0.9864 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.2262, allocations: 31.98 kB / 0.9865 GB, free: 19.44 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.0003059/0.2266, allocations: 157.5 kB / 0.9866 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.2266, allocations: 27.72 kB / 0.9866 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.773e-05/0.2267, allocations: 17.23 kB / 0.9867 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.2267, allocations: 4 kB / 0.9867 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.2268, allocations: 0 / 0.9867 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.2268, allocations: 4 kB / 0.9867 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003534/0.2272, allocations: 258.5 kB / 0.9869 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.852e-06/0.2272, allocations: 7.953 kB / 0.9869 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.722e-05/0.2273, allocations: 15.98 kB / 0.9869 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.2273, allocations: 0 / 0.9869 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.2273, allocations: 4 kB / 0.9869 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.2274, allocations: 0 / 0.9869 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.2274, allocations: 11.94 kB / 0.987 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005614/0.228, allocations: 254.1 kB / 0.9872 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.546e-05/0.228, allocations: 92.91 kB / 0.9873 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/0.2281, allocations: 11.98 kB / 0.9873 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.2283, allocations: 4 kB / 0.9873 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/0.2284, allocations: 15.94 kB / 0.9873 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.2284, allocations: 12 kB / 0.9873 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002444/0.2287, allocations: 172.4 kB / 0.9875 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.41e-07/0.2287, allocations: 0 / 0.9875 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008015/0.2295, allocations: 67.91 kB / 0.9876 GB, free: 18.21 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.0009306/0.2304, allocations: 1.003 MB / 0.9885 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001423/0.2319, allocations: 0.5213 MB / 0.989 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.2319, allocations: 4.062 kB / 0.989 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002323/0.2322, allocations: 63.91 kB / 0.9891 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008472/0.233, allocations: 68.27 kB / 0.9892 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.235, allocations: 2.313 MB / 0.9914 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.2353, allocations: 0.7322 MB / 0.9921 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001498/0.2355, allocations: 17.55 kB / 0.9922 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.2356, allocations: 67.41 kB / 0.9922 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of SimCode: time 1.252e-06/0.2356, allocations: 0 / 0.9922 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02886/0.2645, allocations: 6.011 MB / 0.9981 GB, free: 7.379 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002395/0.2648, allocations: 191.9 kB / 0.9983 GB, free: 7.137 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.602/2.867, allocations: 0 / 0.9983 GB, free: 7.137 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)