Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.Validation.FallingEdge,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.299/1.299, 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.0009268/0.0009267, allocations: 175.5 kB / 325.9 MB, free: 2.672 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.448/1.448, allocations: 205 MB / 0.576 GB, free: 20.97 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.0007158/0.0007159, allocations: 92.73 kB / 0.6797 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004093, allocations: 16.47 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1988, allocations: 105.4 MB / 0.8962 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.001481/0.2004, allocations: 1.21 MB / 0.8974 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004443/0.2008, allocations: 221.9 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.2009, allocations: 0 / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.245e-05/0.201, allocations: 0 / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.81e-05/0.201, allocations: 11.91 kB / 0.8976 GB, free: 66.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.2012, allocations: 27.92 kB / 0.8976 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.087e-05/0.2013, allocations: 55.8 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2014, allocations: 20.2 kB / 0.8977 GB, free: 66.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.899e-05/0.2015, allocations: 23.91 kB / 0.8977 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.583e-05/0.2016, allocations: 19.92 kB / 0.8978 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.2016, allocations: 4 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.109e-05/0.2016, allocations: 3.938 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.2016, allocations: 11.98 kB / 0.8978 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.409e-05/0.2017, allocations: 23.86 kB / 0.8978 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.866e-05/0.2018, allocations: 51.77 kB / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2018, allocations: 0 / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2018, allocations: 0 / 0.8979 GB, free: 66.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.2018, allocations: 0 / 0.8979 GB, free: 66.34 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004636/0.2023, allocations: 379.4 kB / 0.8982 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.2023, allocations: 8.031 kB / 0.8982 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.903e-05/0.2023, allocations: 38.69 kB / 0.8983 GB, free: 65.87 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.2024, allocations: 8.844 kB / 0.8983 GB, free: 65.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.772e-05/0.2025, allocations: 172.2 kB / 0.8984 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.2025, allocations: 12.38 kB / 0.8984 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.2025, allocations: 8.359 kB / 0.8985 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.2027, allocations: 66.23 kB / 0.8985 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.2027, allocations: 7.875 kB / 0.8985 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.2027, allocations: 0 / 0.8985 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.2027, allocations: 0 / 0.8985 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.2029, allocations: 67.88 kB / 0.8986 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.2033, allocations: 312.8 kB / 0.8989 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/0.2037, allocations: 122.6 kB / 0.899 GB, free: 65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.085e-05/0.2038, allocations: 36.95 kB / 0.899 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.2038, allocations: 0 / 0.899 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.204, allocations: 91.28 kB / 0.8991 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.204, allocations: 0 / 0.8991 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003558/0.2044, allocations: 145.5 kB / 0.8993 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.2044, allocations: 51.41 kB / 0.8993 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.22e-05/0.2045, allocations: 129.7 kB / 0.8994 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.2045, allocations: 29.7 kB / 0.8995 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.2046, allocations: 88.14 kB / 0.8996 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.2046, allocations: 15.75 kB / 0.8996 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.2046, allocations: 21.7 kB / 0.8996 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.508e-05/0.2047, allocations: 326.8 kB / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.2048, allocations: 31.97 kB / 0.8999 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.2049, allocations: 63.41 kB / 0.9 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/0.2051, allocations: 91.33 kB / 0.9001 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2051, allocations: 0 / 0.9001 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002228/0.2053, allocations: 129.4 kB / 0.9002 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.2053, allocations: 8 kB / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2053, allocations: 0 / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.2053, allocations: 4.094 kB / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.806e-05/0.2054, allocations: 15.98 kB / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2054, allocations: 4 kB / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.056e-05/0.2055, allocations: 15.98 kB / 0.9002 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.2055, allocations: 4.5 kB / 0.9002 GB, free: 63.63 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,falEdg.not_u,$PRE.falEdg.not_u,falEdg.y,booPul.pulseStart,$PRE.booPul.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.209e-05/0.2056, allocations: 133.8 kB / 0.9004 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.2056, allocations: 3.906 kB / 0.9004 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.2056, allocations: 12.38 kB / 0.9004 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.2056, allocations: 0 / 0.9004 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2057, allocations: 0 / 0.9004 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.2057, allocations: 3.938 kB / 0.9004 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/0.206, allocations: 374.5 kB / 0.9008 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.206, allocations: 0 / 0.9008 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.87e-05/0.2061, allocations: 11.94 kB / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2061, allocations: 0 / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.2061, allocations: 7.984 kB / 0.9008 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2061, allocations: 3.938 kB / 0.9008 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2061, allocations: 0 / 0.9008 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.2063, allocations: 207.4 kB / 0.901 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.119e-05/0.2064, allocations: 85.09 kB / 0.9011 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.2064, allocations: 4 kB / 0.9011 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.2065, allocations: 23.92 kB / 0.9011 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.2065, allocations: 7.984 kB / 0.9011 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.2066, allocations: 3.938 kB / 0.9011 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.075e-05/0.2066, allocations: 95.2 kB / 0.9012 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2066, allocations: 0 / 0.9012 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002117/0.2068, allocations: 19.91 kB / 0.9012 GB, free: 62.55 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: 6 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004098/0.2072, allocations: 0.7363 MB / 0.9019 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.2075, allocations: 83.89 kB / 0.902 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2075, allocations: 0 / 0.902 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.2076, allocations: 51.97 kB / 0.9021 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.2078, allocations: 18.94 kB / 0.9021 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.2091, allocations: 1.516 MB / 0.9036 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.2093, allocations: 0.6888 MB / 0.9042 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.506e-05/0.2093, allocations: 15.8 kB / 0.9042 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.2094, allocations: 19.42 kB / 0.9043 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2094, allocations: 0 / 0.9043 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01107/0.2204, allocations: 1.672 MB / 0.9059 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001405/0.2206, allocations: 224.6 kB / 0.9061 GB, free: 57.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/1.769, allocations: 3.656 kB / 0.9061 GB, free: 57.52 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)