Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.34/1.34, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000958/0.0009579, allocations: 177.2 kB / 325.8 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007163/0.0007164, allocations: 90.47 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002864/0.0002864, allocations: 17.12 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1698, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.00112/0.1709, allocations: 1.022 MB / 0.8972 GB, free: 67.05 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002979/0.1712, allocations: 185.1 kB / 0.8974 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.511e-05/0.1713, allocations: 0 / 0.8974 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.802e-05/0.1713, allocations: 0 / 0.8974 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.166e-05/0.1714, allocations: 3.938 kB / 0.8974 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.1715, allocations: 15.97 kB / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.794e-05/0.1715, allocations: 15.94 kB / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.1716, allocations: 4 kB / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.689e-05/0.1716, allocations: 15.92 kB / 0.8975 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.943e-05/0.1717, allocations: 3.938 kB / 0.8975 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1717, allocations: 4 kB / 0.8975 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-06/0.1717, allocations: 4 kB / 0.8975 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.1717, allocations: 3.984 kB / 0.8975 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.1718, allocations: 11.94 kB / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.007e-05/0.1718, allocations: 20.19 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1718, allocations: 0 / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1719, allocations: 0 / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.1719, allocations: 0 / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003578/0.1722, allocations: 331.6 kB / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1723, allocations: 19.97 kB / 0.8978 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.323e-05/0.1723, allocations: 30.75 kB / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.497e-05/0.1723, allocations: 0.9375 kB / 0.8979 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.871e-05/0.1724, allocations: 172.3 kB / 0.898 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1724, allocations: 4.375 kB / 0.898 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.1725, allocations: 384 / 0.898 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.712e-05/0.1725, allocations: 38.19 kB / 0.8981 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.1725, allocations: 11.88 kB / 0.8981 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.1726, allocations: 0 / 0.8981 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1726, allocations: 4 kB / 0.8981 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.918e-05/0.1726, allocations: 8 kB / 0.8981 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001009/0.1727, allocations: 157.7 kB / 0.8982 GB, free: 65.85 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.238e-05/0.1728, allocations: 26.61 kB / 0.8983 GB, free: 65.82 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.826e-05/0.1728, allocations: 8.922 kB / 0.8983 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.1728, allocations: 0 / 0.8983 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.1729, allocations: 71.27 kB / 0.8984 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1729, allocations: 0 / 0.8984 GB, free: 65.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0001277/0.173, allocations: 53.69 kB / 0.8984 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/0.1731, allocations: 51.41 kB / 0.8985 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.819e-05/0.1731, allocations: 101.9 kB / 0.8985 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.764e-06/0.1731, allocations: 25.7 kB / 0.8986 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.609e-05/0.1732, allocations: 84.08 kB / 0.8987 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.238e-05/0.1732, allocations: 11.83 kB / 0.8987 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.977e-05/0.1732, allocations: 17.72 kB / 0.8987 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.001e-05/0.1733, allocations: 314.8 kB / 0.899 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.1733, allocations: 8 kB / 0.899 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.285e-05/0.1733, allocations: 17.7 kB / 0.899 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.162e-05/0.1733, allocations: 22.19 kB / 0.899 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1733, allocations: 0 / 0.899 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.969e-05/0.1734, allocations: 61.61 kB / 0.8991 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.1735, allocations: 11.97 kB / 0.8991 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1735, allocations: 0 / 0.8991 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.1735, allocations: 0 / 0.8991 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.988e-05/0.1735, allocations: 4 kB / 0.8991 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1735, allocations: 0 / 0.8991 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.314e-05/0.1736, allocations: 11.98 kB / 0.8991 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.1736, allocations: 3.938 kB / 0.8991 GB, free: 64.87 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.884e-05/0.1737, allocations: 113.8 kB / 0.8992 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.1737, allocations: 15.78 kB / 0.8992 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.979e-05/0.1737, allocations: 3.5 kB / 0.8992 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1737, allocations: 0 / 0.8992 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1737, allocations: 0 / 0.8992 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1737, allocations: 4 kB / 0.8992 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.322e-05/0.1738, allocations: 157.7 kB / 0.8994 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1738, allocations: 0 / 0.8994 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-06/0.1738, allocations: 3.938 kB / 0.8994 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1738, allocations: 3.938 kB / 0.8994 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.1738, allocations: 0 / 0.8994 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1738, allocations: 0 / 0.8994 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1738, allocations: 4 kB / 0.8994 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.264e-05/0.1739, allocations: 73.12 kB / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.56e-05/0.1739, allocations: 81.05 kB / 0.8996 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.1739, allocations: 4 kB / 0.8996 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.591e-05/0.174, allocations: 7.984 kB / 0.8996 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/0.174, allocations: 3.984 kB / 0.8996 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.174, allocations: 4 kB / 0.8996 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.082e-05/0.1741, allocations: 91.22 kB / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1741, allocations: 0 / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000169/0.1742, allocations: 4 kB / 0.8997 GB, free: 64.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002109/0.1745, allocations: 0.6162 MB / 0.9003 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.763e-05/0.1745, allocations: 23.94 kB / 0.9003 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1745, allocations: 0 / 0.9003 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-05/0.1746, allocations: 12 kB / 0.9003 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.1748, allocations: 7.984 kB / 0.9003 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006306/0.1754, allocations: 1.13 MB / 0.9014 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.396e-05/0.1755, allocations: 0.6808 MB / 0.9021 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.016e-05/0.1755, allocations: 8 kB / 0.9021 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.1755, allocations: 7.438 kB / 0.9021 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/0.1756, allocations: 0 / 0.9021 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01005/0.1856, allocations: 1.131 MB / 0.9032 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001284/0.1858, allocations: 221.4 kB / 0.9034 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.422/1.607, allocations: 0 / 0.9034 GB, free: 60.36 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_Pulse.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)