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.008881/0.008881, allocations: 101 kB / 15.73 MB, free: 5.996 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.001726/0.001726, allocations: 191.9 kB / 16.67 MB, free: 5.926 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.8477/0.8477, allocations: 143.1 MB / 433.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.86 kB / 0.595 GB, free: 12.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1453, allocations: 82.04 MB / 0.6751 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.00245/0.1478, allocations: 1.423 MB / 0.6765 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000704/0.1485, allocations: 430.9 kB / 0.6769 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.857e-05/0.1486, allocations: 0 / 0.6769 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.1486, allocations: 3.938 kB / 0.6769 GB, free: 9.008 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/0.1487, allocations: 23.91 kB / 0.6769 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.1488, allocations: 15.92 kB / 0.677 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.149, allocations: 55.8 kB / 0.677 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.504e-05/0.1491, allocations: 7.984 kB / 0.677 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.371e-05/0.1491, allocations: 19.94 kB / 0.677 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.793e-05/0.1492, allocations: 27.83 kB / 0.6771 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.838e-05/0.1492, allocations: 4 kB / 0.6771 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.136e-05/0.1492, allocations: 4 kB / 0.6771 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.1493, allocations: 4 kB / 0.6771 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.1493, allocations: 27.86 kB / 0.6771 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.1494, allocations: 42.69 kB / 0.6771 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1494, allocations: 0 / 0.6771 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.1495, allocations: 0 / 0.6771 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.1495, allocations: 0 / 0.6771 GB, free: 8.781 MB / 0.5137 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.0005801/0.15, allocations: 389.9 kB / 0.6775 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1501, allocations: 8.031 kB / 0.6775 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.193e-05/0.1501, allocations: 38.75 kB / 0.6776 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.1502, allocations: 8.828 kB / 0.6776 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.1503, allocations: 176.2 kB / 0.6777 GB, free: 8.074 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1503, allocations: 4.375 kB / 0.6777 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.1503, allocations: 384 / 0.6777 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.1505, allocations: 57.8 kB / 0.6778 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.1505, allocations: 0 / 0.6778 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1505, allocations: 4 kB / 0.6778 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1505, allocations: 0 / 0.6778 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.6e-05/0.1506, allocations: 12 kB / 0.6778 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.151, allocations: 280.8 kB / 0.6781 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.48e-05/0.1511, allocations: 42.52 kB / 0.6781 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.1511, allocations: 24.91 kB / 0.6781 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.1511, allocations: 3.984 kB / 0.6781 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001942/0.1513, allocations: 105.1 kB / 0.6782 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.542e-06/0.1513, allocations: 4 kB / 0.6783 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002751/0.1516, allocations: 143.2 kB / 0.6784 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.1517, allocations: 81.11 kB / 0.6785 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.626e-05/0.1518, allocations: 105.8 kB / 0.6786 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.1518, allocations: 33.69 kB / 0.6786 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.1519, allocations: 84.14 kB / 0.6787 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.1519, allocations: 19.75 kB / 0.6787 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.1519, allocations: 33.64 kB / 0.6787 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.371e-05/0.152, allocations: 318.8 kB / 0.679 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.684e-05/0.1521, allocations: 19.98 kB / 0.6791 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.627e-05/0.1521, allocations: 30.58 kB / 0.6791 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.978e-05/0.1522, allocations: 117.9 kB / 0.6792 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1522, allocations: 4 kB / 0.6792 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001555/0.1524, allocations: 131.2 kB / 0.6793 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.1524, allocations: 33.69 kB / 0.6794 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1524, allocations: 4 kB / 0.6794 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1525, allocations: 0 / 0.6794 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.554e-05/0.1525, allocations: 4 kB / 0.6794 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1525, allocations: 0 / 0.6794 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.56e-05/0.1526, allocations: 7.984 kB / 0.6794 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1526, allocations: 8 kB / 0.6794 GB, free: 6.191 MB / 0.5137 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.0001008/0.1527, allocations: 153.2 kB / 0.6795 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/0.1527, allocations: 7.906 kB / 0.6795 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.1528, allocations: 4.375 kB / 0.6795 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1528, allocations: 0 / 0.6795 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1528, allocations: 3.984 kB / 0.6795 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1528, allocations: 4.375 kB / 0.6795 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.1532, allocations: 404.1 kB / 0.6799 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1532, allocations: 3.938 kB / 0.6799 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.528e-06/0.1532, allocations: 7.938 kB / 0.6799 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.1532, allocations: 4 kB / 0.6799 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1532, allocations: 0 / 0.6799 GB, free: 5.531 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1532, allocations: 4 kB / 0.68 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1532, allocations: 3.938 kB / 0.68 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.1534, allocations: 229.1 kB / 0.6802 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.1535, allocations: 81.09 kB / 0.6803 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1535, allocations: 8 kB / 0.6803 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1536, allocations: 4 kB / 0.6803 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.584e-05/0.1537, allocations: 15.92 kB / 0.6803 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.1537, allocations: 4 kB / 0.6803 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.508e-05/0.1538, allocations: 87.27 kB / 0.6804 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1538, allocations: 0 / 0.6804 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000236/0.154, allocations: 23.91 kB / 0.6804 GB, free: 5.039 MB / 0.5137 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.0004312/0.1544, allocations: 0.7571 MB / 0.6811 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001748/0.1546, allocations: 115.3 kB / 0.6812 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1546, allocations: 0 / 0.6812 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.063e-05/0.1547, allocations: 95.38 kB / 0.6813 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.155, allocations: 27.47 kB / 0.6814 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.1564, allocations: 1.432 MB / 0.6828 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.1567, allocations: 0.6885 MB / 0.6834 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.893e-05/0.1567, allocations: 0 / 0.6834 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.1567, allocations: 19.42 kB / 0.6834 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.1568, allocations: 0 / 0.6834 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01778/0.1745, allocations: 1.886 MB / 0.6853 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.091, allocations: 13.64 kB / 0.6853 GB, free: 15.94 MB / 0.5294 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)