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.001318/0.001318, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001189/0.001189, allocations: 199.2 kB / 16.14 MB, free: 6.695 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.242/1.242, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.9041/0.9041, allocations: 143 MB / 433 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 55.91 kB / 0.5136 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1403, allocations: 82.05 MB / 0.5937 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Discrete.Examples.BooleanDelay): time 0.002346/0.1427, allocations: 1.486 MB / 0.5952 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006119/0.1433, allocations: 439 kB / 0.5956 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.1433, allocations: 0 / 0.5956 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.534e-05/0.1434, allocations: 0 / 0.5956 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.787e-05/0.1435, allocations: 7.922 kB / 0.5956 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001206/0.1436, allocations: 15.92 kB / 0.5956 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.952e-05/0.1437, allocations: 43.91 kB / 0.5956 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.878e-05/0.1437, allocations: 15.98 kB / 0.5957 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.489e-05/0.1438, allocations: 23.86 kB / 0.5957 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.269e-05/0.1439, allocations: 15.92 kB / 0.5957 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1439, allocations: 4 kB / 0.5957 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.1439, allocations: 0 / 0.5957 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.1439, allocations: 7.938 kB / 0.5957 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.144, allocations: 23.91 kB / 0.5957 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.858e-05/0.1441, allocations: 32.17 kB / 0.5958 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1441, allocations: 0 / 0.5958 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.32e-07/0.1441, allocations: 0 / 0.5958 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.1441, allocations: 0 / 0.5958 GB, free: 7.867 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.0005333/0.1446, allocations: 401 kB / 0.5961 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1447, allocations: 11.97 kB / 0.5962 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.773e-05/0.1447, allocations: 42.67 kB / 0.5962 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.1447, allocations: 4.875 kB / 0.5962 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.1448, allocations: 176.2 kB / 0.5964 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1449, allocations: 4.375 kB / 0.5964 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.1449, allocations: 384 / 0.5964 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.145, allocations: 65.78 kB / 0.5964 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.145, allocations: 0 / 0.5964 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.145, allocations: 4 kB / 0.5964 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.145, allocations: 0 / 0.5964 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.911e-05/0.1451, allocations: 15.94 kB / 0.5965 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.1454, allocations: 272.8 kB / 0.5967 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.101e-05/0.1455, allocations: 42.58 kB / 0.5968 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.439e-05/0.1456, allocations: 20.97 kB / 0.5968 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.1456, allocations: 0 / 0.5968 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.1457, allocations: 101 kB / 0.5969 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.1457, allocations: 0 / 0.5969 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002936/0.146, allocations: 139.3 kB / 0.597 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.565e-05/0.1461, allocations: 93.09 kB / 0.5971 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.064e-05/0.1462, allocations: 109.8 kB / 0.5972 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.1462, allocations: 29.7 kB / 0.5972 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.1463, allocations: 84.14 kB / 0.5973 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.1463, allocations: 19.72 kB / 0.5973 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.3e-05/0.1464, allocations: 29.7 kB / 0.5974 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.1465, allocations: 314.8 kB / 0.5977 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.267e-05/0.1465, allocations: 19.98 kB / 0.5977 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-05/0.1466, allocations: 34.56 kB / 0.5977 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.775e-05/0.1467, allocations: 113.9 kB / 0.5978 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1467, allocations: 0 / 0.5978 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001493/0.1468, allocations: 123.3 kB / 0.5979 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.1469, allocations: 33.69 kB / 0.598 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.1469, allocations: 4.375 kB / 0.598 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1469, allocations: 0 / 0.598 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.909e-05/0.1469, allocations: 8.062 kB / 0.598 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/0.1469, allocations: 3.938 kB / 0.598 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.109e-05/0.147, allocations: 15.86 kB / 0.598 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.147, allocations: 8 kB / 0.598 GB, free: 5.27 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 9.888e-05/0.1471, allocations: 155.4 kB / 0.5982 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.1472, allocations: 7.906 kB / 0.5982 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.354e-05/0.1472, allocations: 8.359 kB / 0.5982 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1472, allocations: 0 / 0.5982 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.1472, allocations: 0 / 0.5982 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1472, allocations: 8 kB / 0.5982 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.1476, allocations: 396.2 kB / 0.5986 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1476, allocations: 64 / 0.5986 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.716e-06/0.1476, allocations: 8 kB / 0.5986 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1476, allocations: 3.984 kB / 0.5986 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.1476, allocations: 0 / 0.5986 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.1476, allocations: 4 kB / 0.5986 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1476, allocations: 3.938 kB / 0.5986 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.1478, allocations: 237.1 kB / 0.5988 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.1479, allocations: 85 kB / 0.5989 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.1479, allocations: 8 kB / 0.5989 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.759e-05/0.148, allocations: 7.984 kB / 0.5989 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.148, allocations: 7.938 kB / 0.5989 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.1481, allocations: 4 kB / 0.5989 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.741e-05/0.1481, allocations: 87.81 kB / 0.599 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1481, allocations: 0 / 0.599 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002201/0.1483, allocations: 24 kB / 0.599 GB, free: 4.113 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.0004469/0.1488, allocations: 0.7668 MB / 0.5998 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.149, allocations: 111.6 kB / 0.5999 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.149, allocations: 0 / 0.5999 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.849e-05/0.1491, allocations: 99.5 kB / 0.6 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.1493, allocations: 15.92 kB / 0.6 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.1505, allocations: 1.424 MB / 0.6014 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.1508, allocations: 0.6848 MB / 0.602 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.862e-05/0.1508, allocations: 7.984 kB / 0.602 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.715e-05/0.1508, allocations: 11.44 kB / 0.6021 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1508, allocations: 0 / 0.6021 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2363/0.3871, allocations: 1.663 MB / 0.6037 GB, free: 43.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/0.3873, allocations: 202.3 kB / 0.6039 GB, free: 43.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/1.89, allocations: 0 / 0.6039 GB, free: 43.34 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)