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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001113/0.001113, allocations: 193.7 kB / 16.25 MB, free: 6.621 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.176/1.176, allocations: 222.9 MB / 239.9 MB, free: 4.473 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.8645/0.8645, allocations: 143 MB / 433.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 55.91 kB / 0.5138 GB, free: 11.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1307, allocations: 82.05 MB / 0.5939 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002059/0.1328, allocations: 1.467 MB / 0.5953 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005194/0.1333, allocations: 431 kB / 0.5957 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.1334, allocations: 0 / 0.5957 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.528e-05/0.1334, allocations: 0 / 0.5957 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.353e-05/0.1334, allocations: 15.92 kB / 0.5958 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 7.991e-05/0.1335, allocations: 12 kB / 0.5958 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.245e-05/0.1336, allocations: 55.78 kB / 0.5958 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.725e-05/0.1336, allocations: 11.98 kB / 0.5958 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.363e-05/0.1337, allocations: 27.86 kB / 0.5959 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.659e-05/0.1337, allocations: 15.92 kB / 0.5959 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.1338, allocations: 4 kB / 0.5959 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-06/0.1338, allocations: 4 kB / 0.5959 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.1338, allocations: 7.938 kB / 0.5959 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.934e-05/0.1338, allocations: 23.86 kB / 0.5959 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.209e-05/0.1339, allocations: 40.16 kB / 0.596 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.1339, allocations: 0 / 0.596 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.62e-07/0.1339, allocations: 0 / 0.596 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.896e-06/0.1339, allocations: 0 / 0.596 GB, free: 7.773 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.0004005/0.1343, allocations: 401 kB / 0.5963 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.382e-05/0.1343, allocations: 8.031 kB / 0.5963 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.479e-05/0.1344, allocations: 42.73 kB / 0.5964 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.808e-05/0.1344, allocations: 0.9375 kB / 0.5964 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.735e-05/0.1345, allocations: 180.2 kB / 0.5966 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.1345, allocations: 4.375 kB / 0.5966 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.1345, allocations: 384 / 0.5966 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.677e-05/0.1346, allocations: 65.73 kB / 0.5966 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-06/0.1346, allocations: 0 / 0.5966 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.161e-06/0.1346, allocations: 0 / 0.5966 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1346, allocations: 4 kB / 0.5966 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.096e-05/0.1347, allocations: 12 kB / 0.5966 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.1349, allocations: 272.8 kB / 0.5969 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.63e-05/0.135, allocations: 46.52 kB / 0.5969 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.1351, allocations: 20.97 kB / 0.597 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.1351, allocations: 4.062 kB / 0.597 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.1352, allocations: 97.09 kB / 0.5971 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.1352, allocations: 0 / 0.5971 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002065/0.1354, allocations: 143.2 kB / 0.5972 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.1355, allocations: 85.09 kB / 0.5973 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.422e-05/0.1355, allocations: 113.9 kB / 0.5974 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1356, allocations: 29.7 kB / 0.5974 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.099e-05/0.1356, allocations: 84.14 kB / 0.5975 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.619e-05/0.1356, allocations: 19.8 kB / 0.5975 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.1357, allocations: 29.7 kB / 0.5975 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.1358, allocations: 319 kB / 0.5978 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.922e-05/0.1358, allocations: 15.98 kB / 0.5979 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.297e-05/0.1358, allocations: 50.44 kB / 0.5979 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.376e-05/0.1359, allocations: 106 kB / 0.598 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1359, allocations: 3.938 kB / 0.598 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001396/0.1361, allocations: 127.2 kB / 0.5981 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.1361, allocations: 33.69 kB / 0.5982 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/0.1361, allocations: 0 / 0.5982 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.1361, allocations: 7.984 kB / 0.5982 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.728e-05/0.1362, allocations: 8.062 kB / 0.5982 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.726e-06/0.1362, allocations: 0 / 0.5982 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.965e-05/0.1362, allocations: 11.92 kB / 0.5982 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1362, allocations: 4 kB / 0.5982 GB, free: 5.172 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 7.948e-05/0.1363, allocations: 151.5 kB / 0.5983 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.1364, allocations: 7.906 kB / 0.5983 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/0.1364, allocations: 12.3 kB / 0.5984 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1364, allocations: 0 / 0.5984 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.1364, allocations: 4 kB / 0.5984 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1364, allocations: 0 / 0.5984 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000328/0.1367, allocations: 400.1 kB / 0.5987 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1367, allocations: 0 / 0.5987 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.3e-05/0.1368, allocations: 16 kB / 0.5988 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1368, allocations: 0 / 0.5988 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-06/0.1368, allocations: 0 / 0.5988 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1368, allocations: 0 / 0.5988 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1368, allocations: 7.938 kB / 0.5988 GB, free: 4.504 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.137, allocations: 225.1 kB / 0.599 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.137, allocations: 92.94 kB / 0.5991 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.845e-05/0.137, allocations: 4 kB / 0.5991 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/0.1371, allocations: 11.98 kB / 0.5991 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.1372, allocations: 7.938 kB / 0.5991 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.1372, allocations: 96 / 0.5991 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.1372, allocations: 95.2 kB / 0.5992 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1372, allocations: 0 / 0.5992 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002148/0.1375, allocations: 20 kB / 0.5992 GB, free: 4.016 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.0003998/0.1379, allocations: 0.7629 MB / 0.5999 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.138, allocations: 115.3 kB / 0.6001 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.138, allocations: 0 / 0.6001 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.61e-05/0.1381, allocations: 95.52 kB / 0.6002 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.1383, allocations: 23.92 kB / 0.6002 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.1394, allocations: 1.421 MB / 0.6016 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.1396, allocations: 0.6885 MB / 0.6022 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.419e-05/0.1396, allocations: 7.984 kB / 0.6022 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.1396, allocations: 15.44 kB / 0.6023 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1396, allocations: 4 kB / 0.6023 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2283/0.3679, allocations: 1.731 MB / 0.604 GB, free: 43.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001333/0.3681, allocations: 206.4 kB / 0.6041 GB, free: 43.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.514/1.882, allocations: 0.6562 kB / 0.6041 GB, free: 43.62 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Controls_Discrete_Examples_BooleanDelay.fmu > BuildSysPro_BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)