Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay") translateModel(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 104.3 kB / 16.27 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001946/0.001947, allocations: 191.2 kB / 17.2 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 222.9 MB / 240.9 MB, free: 4.113 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.102/1.102, allocations: 143.3 MB / 434.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 63.89 kB / 0.5151 GB, free: 11.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1885, allocations: 82.04 MB / 0.5952 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002934/0.1915, allocations: 1.41 MB / 0.5966 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008086/0.1923, allocations: 442.9 kB / 0.597 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.025e-05/0.1924, allocations: 0 / 0.597 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.595e-05/0.1924, allocations: 7.938 kB / 0.597 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.985e-05/0.1925, allocations: 11.91 kB / 0.597 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001539/0.1927, allocations: 19.92 kB / 0.597 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.1929, allocations: 51.8 kB / 0.5971 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.193, allocations: 8 kB / 0.5971 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.292e-05/0.193, allocations: 23.92 kB / 0.5971 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.027e-05/0.1931, allocations: 19.92 kB / 0.5971 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.1931, allocations: 0 / 0.5971 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.1931, allocations: 4 kB / 0.5971 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.229e-05/0.1932, allocations: 15.97 kB / 0.5971 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.867e-05/0.1932, allocations: 19.81 kB / 0.5972 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.1934, allocations: 39.88 kB / 0.5972 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1934, allocations: 0 / 0.5972 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1934, allocations: 4 kB / 0.5972 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.1934, allocations: 0 / 0.5972 GB, free: 7.305 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007058/0.1941, allocations: 397.3 kB / 0.5976 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1941, allocations: 8.031 kB / 0.5976 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/0.1942, allocations: 4.938 kB / 0.5976 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001814/0.1944, allocations: 176.2 kB / 0.5978 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1944, allocations: 4.375 kB / 0.5978 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.1944, allocations: 12.36 kB / 0.5978 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.1945, allocations: 50 kB / 0.5978 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1946, allocations: 0 / 0.5978 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1946, allocations: 4 kB / 0.5978 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1946, allocations: 3.938 kB / 0.5978 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.279e-05/0.1947, allocations: 23.92 kB / 0.5979 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.1951, allocations: 264.8 kB / 0.5981 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.583e-05/0.1952, allocations: 46.56 kB / 0.5981 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.1953, allocations: 20.98 kB / 0.5982 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.1953, allocations: 0 / 0.5982 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.1955, allocations: 105 kB / 0.5983 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.1955, allocations: 0 / 0.5983 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.000309/0.1959, allocations: 151.2 kB / 0.5984 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.1959, allocations: 81.11 kB / 0.5985 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.644e-05/0.196, allocations: 113.8 kB / 0.5986 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1961, allocations: 29.7 kB / 0.5986 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.1961, allocations: 84.14 kB / 0.5987 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-05/0.1962, allocations: 11.81 kB / 0.5987 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-05/0.1962, allocations: 29.7 kB / 0.5987 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1964, allocations: 322.8 kB / 0.5991 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.351e-05/0.1964, allocations: 12 kB / 0.5991 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.97e-05/0.1965, allocations: 42.56 kB / 0.5991 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.1966, allocations: 109.9 kB / 0.5992 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1966, allocations: 0 / 0.5992 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001922/0.1968, allocations: 135.2 kB / 0.5993 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.1969, allocations: 36.05 kB / 0.5994 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.1969, allocations: 0 / 0.5994 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1969, allocations: 8.062 kB / 0.5994 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.204e-05/0.1969, allocations: 0 / 0.5994 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.197, allocations: 4 kB / 0.5994 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.928e-05/0.197, allocations: 15.98 kB / 0.5994 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.1971, allocations: 4 kB / 0.5994 GB, free: 4.754 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 (del.firstTrigger,$PRE.del.firstTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,del.ySample,del.sampleTrigger,del.y,$whenCondition3,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001349/0.1972, allocations: 156.1 kB / 0.5996 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.1972, allocations: 3.906 kB / 0.5996 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.1973, allocations: 12.38 kB / 0.5996 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1973, allocations: 0 / 0.5996 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1973, allocations: 4 kB / 0.5996 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1973, allocations: 3.938 kB / 0.5996 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.1978, allocations: 396.2 kB / 0.6 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1978, allocations: 0 / 0.6 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.905e-06/0.1978, allocations: 0 / 0.6 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1978, allocations: 4 kB / 0.6 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.1978, allocations: 8.359 kB / 0.6 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1978, allocations: 0 / 0.6 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1978, allocations: 0 / 0.6 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.1981, allocations: 244.9 kB / 0.6002 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.207e-05/0.1981, allocations: 85.02 kB / 0.6003 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.1982, allocations: 0 / 0.6003 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.1983, allocations: 15.98 kB / 0.6003 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.1983, allocations: 7.938 kB / 0.6003 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.1984, allocations: 3.984 kB / 0.6003 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.364e-05/0.1984, allocations: 87.28 kB / 0.6004 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1984, allocations: 4 kB / 0.6004 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002298/0.1987, allocations: 12 kB / 0.6004 GB, free: 3.605 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001096/0.1988, allocations: 107.2 kB / 0.6005 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002535/0.1991, allocations: 111.3 kB / 0.6006 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.1991, allocations: 0 / 0.6006 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1992, allocations: 96.11 kB / 0.6007 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.1995, allocations: 20.11 kB / 0.6007 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.1999, allocations: 167.2 kB / 0.6009 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.2002, allocations: 0.6846 MB / 0.6016 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.1e-05/0.2002, allocations: 11.44 kB / 0.6016 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of SimCode: time 3.4e-07/0.2002, allocations: 0 / 0.6016 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of Templates: time 0.002557/0.2028, allocations: 0.9075 MB / 0.6025 GB, free: 1.426 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)