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.0007358/0.0007357, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004461/0.004461, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.217/1.217, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.8762/0.8762, allocations: 143.2 MB / 434.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002674, allocations: 8 kB / 0.5165 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1267, allocations: 83.42 MB / 0.598 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.001244/0.128, allocations: 1.143 MB / 0.5991 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005566/0.1286, allocations: 423.1 kB / 0.5995 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.355e-05/0.1286, allocations: 3.938 kB / 0.5995 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.235e-05/0.1286, allocations: 4 kB / 0.5995 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.472e-05/0.1287, allocations: 3.938 kB / 0.5995 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.1288, allocations: 19.92 kB / 0.5995 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.599e-05/0.1289, allocations: 47.8 kB / 0.5996 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.401e-05/0.129, allocations: 7.984 kB / 0.5996 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.696e-05/0.129, allocations: 19.92 kB / 0.5996 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.037e-05/0.1291, allocations: 15.92 kB / 0.5996 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.1291, allocations: 4 kB / 0.5996 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.616e-06/0.1291, allocations: 0 / 0.5996 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.1291, allocations: 11.98 kB / 0.5996 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.883e-05/0.1292, allocations: 41.58 kB / 0.5996 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.937e-05/0.1293, allocations: 44.08 kB / 0.5997 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1293, allocations: 0 / 0.5997 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1293, allocations: 0 / 0.5997 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.1293, allocations: 0 / 0.5997 GB, free: 5.754 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.0004455/0.1297, allocations: 397.1 kB / 0.6001 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.876e-05/0.1298, allocations: 8.031 kB / 0.6001 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.052e-05/0.1298, allocations: 34.75 kB / 0.6001 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.1298, allocations: 8.844 kB / 0.6001 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.495e-05/0.1299, allocations: 172.2 kB / 0.6003 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.13, allocations: 8.375 kB / 0.6003 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.13, allocations: 384 / 0.6003 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.727e-05/0.1301, allocations: 49.81 kB / 0.6003 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-06/0.1301, allocations: 0 / 0.6003 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1301, allocations: 11.98 kB / 0.6003 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.1301, allocations: 3.938 kB / 0.6004 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.803e-05/0.1301, allocations: 19.94 kB / 0.6004 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003003/0.1305, allocations: 264.8 kB / 0.6006 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.629e-05/0.1305, allocations: 42.56 kB / 0.6007 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.1306, allocations: 24.97 kB / 0.6007 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.1306, allocations: 4 kB / 0.6007 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001406/0.1307, allocations: 109.1 kB / 0.6008 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.1308, allocations: 0 / 0.6008 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002225/0.131, allocations: 143.2 kB / 0.6009 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.131, allocations: 85.11 kB / 0.601 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.1311, allocations: 106.2 kB / 0.6011 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/0.1311, allocations: 29.7 kB / 0.6011 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.1312, allocations: 92.12 kB / 0.6012 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.1312, allocations: 15.81 kB / 0.6012 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.1312, allocations: 17.72 kB / 0.6013 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.337e-05/0.1313, allocations: 318.8 kB / 0.6016 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.994e-05/0.1313, allocations: 20 kB / 0.6016 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.746e-05/0.1314, allocations: 30.56 kB / 0.6016 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.941e-05/0.1315, allocations: 126 kB / 0.6017 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1315, allocations: 0 / 0.6017 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001407/0.1316, allocations: 127.2 kB / 0.6019 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.1317, allocations: 29.7 kB / 0.6019 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1317, allocations: 8.062 kB / 0.6019 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.315e-06/0.1317, allocations: 3.984 kB / 0.6019 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.201e-05/0.1317, allocations: 4 kB / 0.6019 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.1317, allocations: 0 / 0.6019 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.1318, allocations: 16 kB / 0.6019 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-06/0.1318, allocations: 8 kB / 0.6019 GB, free: 3.164 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 8.304e-05/0.1319, allocations: 151.4 kB / 0.6021 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.1319, allocations: 7.906 kB / 0.6021 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.284e-05/0.1319, allocations: 12.38 kB / 0.6021 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1319, allocations: 0 / 0.6021 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.132, allocations: 0 / 0.6021 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.132, allocations: 3.938 kB / 0.6021 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003298/0.1323, allocations: 408.1 kB / 0.6025 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1323, allocations: 0 / 0.6025 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-06/0.1323, allocations: 0 / 0.6025 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1323, allocations: 4 kB / 0.6025 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1323, allocations: 0 / 0.6025 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1323, allocations: 0 / 0.6025 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1323, allocations: 4.312 kB / 0.6025 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.1325, allocations: 233 kB / 0.6027 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/0.1326, allocations: 85.11 kB / 0.6028 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.1326, allocations: 4 kB / 0.6028 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.69e-05/0.1327, allocations: 11.98 kB / 0.6028 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.1327, allocations: 11.92 kB / 0.6028 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.1327, allocations: 4 kB / 0.6028 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.869e-05/0.1328, allocations: 87.27 kB / 0.6029 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1328, allocations: 0 / 0.6029 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002158/0.133, allocations: 23.91 kB / 0.6029 GB, free: 2.012 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.0003717/0.1334, allocations: 0.7589 MB / 0.6037 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001368/0.1335, allocations: 119.3 kB / 0.6038 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.1336, allocations: 0 / 0.6038 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.107e-05/0.1336, allocations: 91.39 kB / 0.6039 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.1339, allocations: 16.17 kB / 0.6039 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2002/0.3341, allocations: 1.429 MB / 0.6053 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.724e-05/0.3343, allocations: 0.6875 MB / 0.606 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.227e-05/0.3343, allocations: 5.797 kB / 0.606 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.021e-05/0.3344, allocations: 15.97 kB / 0.606 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.3344, allocations: 0.5625 kB / 0.606 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.995/1.329, allocations: 1.606 MB / 0.6075 GB, free: 39.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001909/1.33, allocations: 207.6 kB / 0.6077 GB, free: 38.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.662/4.991, allocations: 5.406 kB / 0.6077 GB, free: 38.95 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)