Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Examples.OffTimer,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer",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.001338/0.001338, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.417/1.417, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002494/0.002494, allocations: 287 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.5073 GB, free: 4.578 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002763/0.002763, allocations: 98.92 kB / 0.6065 GB, free: 24.82 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1531, allocations: 89.14 MB / 0.6936 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.002694/0.1558, allocations: 1.46 MB / 0.695 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007408/0.1566, allocations: 444.5 kB / 0.6954 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.9e-05/0.1567, allocations: 2.812 kB / 0.6954 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.1567, allocations: 3.938 kB / 0.6954 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.181e-05/0.1568, allocations: 11.92 kB / 0.6955 GB, free: 2.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.1569, allocations: 19.92 kB / 0.6955 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.208e-05/0.157, allocations: 47.89 kB / 0.6955 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.1571, allocations: 16.5 kB / 0.6955 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.996e-05/0.1572, allocations: 23.86 kB / 0.6956 GB, free: 2.219 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.104e-05/0.1572, allocations: 16.55 kB / 0.6956 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.1572, allocations: 8.625 kB / 0.6956 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.599e-05/0.1573, allocations: 4 kB / 0.6956 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.31e-05/0.1573, allocations: 17.36 kB / 0.6956 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.1574, allocations: 23.91 kB / 0.6956 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.274e-05/0.1574, allocations: 48.05 kB / 0.6957 GB, free: 2.105 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1575, allocations: 0 / 0.6957 GB, free: 2.105 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1575, allocations: 2.688 kB / 0.6957 GB, free: 2.105 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.1575, allocations: 0 / 0.6957 GB, free: 2.105 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005203/0.158, allocations: 351.5 kB / 0.696 GB, free: 1.715 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.158, allocations: 12.03 kB / 0.696 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.871e-05/0.1581, allocations: 34.73 kB / 0.6961 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.1581, allocations: 10.38 kB / 0.6961 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.1583, allocations: 172.3 kB / 0.6962 GB, free: 1.445 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.1583, allocations: 4.375 kB / 0.6962 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.1583, allocations: 4.375 kB / 0.6962 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.1584, allocations: 62.39 kB / 0.6963 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.1585, allocations: 5.562 kB / 0.6963 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1585, allocations: 4 kB / 0.6963 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1585, allocations: 0 / 0.6963 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.191e-05/0.1586, allocations: 27.91 kB / 0.6963 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.1591, allocations: 309.3 kB / 0.6966 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.1592, allocations: 54.59 kB / 0.6967 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.228e-05/0.1593, allocations: 20.95 kB / 0.6967 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.341e-05/0.1593, allocations: 4 kB / 0.6967 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.1595, allocations: 83.36 kB / 0.6968 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.1595, allocations: 0 / 0.6968 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002278/0.1597, allocations: 101.5 kB / 0.6969 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.1598, allocations: 55.41 kB / 0.6969 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.606e-05/0.1599, allocations: 101.9 kB / 0.697 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.1599, allocations: 29.69 kB / 0.6971 GB, free: 496 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.705e-05/0.16, allocations: 88.14 kB / 0.6971 GB, free: 404 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.16, allocations: 27.59 kB / 0.6972 GB, free: 376 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.588e-05/0.1601, allocations: 33.7 kB / 0.6972 GB, free: 336 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.1602, allocations: 314.8 kB / 0.6975 GB, free: 12 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.951e-05/0.1603, allocations: 27.92 kB / 0.6975 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-05/0.1604, allocations: 39.42 kB / 0.6976 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.1605, allocations: 67.38 kB / 0.6976 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1605, allocations: 384 / 0.6976 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001579/0.1606, allocations: 97.52 kB / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1607, allocations: 4 kB / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1607, allocations: 4 kB / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1607, allocations: 3.938 kB / 0.6977 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.1608, allocations: 11.98 kB / 0.6977 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.1608, allocations: 7.938 kB / 0.6978 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.697e-05/0.1609, allocations: 4 kB / 0.6978 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1609, allocations: 7.938 kB / 0.6978 GB, free: 15.71 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001076/0.161, allocations: 126.5 kB / 0.6979 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/0.161, allocations: 3.906 kB / 0.6979 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.161, allocations: 12.25 kB / 0.6979 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.161, allocations: 0 / 0.6979 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1611, allocations: 0 / 0.6979 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.1611, allocations: 3.984 kB / 0.6979 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004562/0.1615, allocations: 362.4 kB / 0.6983 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1615, allocations: 4 kB / 0.6983 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-05/0.1616, allocations: 3.938 kB / 0.6983 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1616, allocations: 7.984 kB / 0.6983 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.1616, allocations: 0 / 0.6983 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1616, allocations: 3.938 kB / 0.6983 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1616, allocations: 4.062 kB / 0.6983 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.1618, allocations: 179.4 kB / 0.6984 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.1619, allocations: 89.03 kB / 0.6985 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.1619, allocations: 4 kB / 0.6985 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/0.162, allocations: 11.94 kB / 0.6985 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.162, allocations: 7.984 kB / 0.6986 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.162, allocations: 0 / 0.6986 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.976e-05/0.1621, allocations: 87.27 kB / 0.6986 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1621, allocations: 0 / 0.6986 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002475/0.1623, allocations: 12 kB / 0.6986 GB, free: 14.71 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005081/0.1629, allocations: 0.7219 MB / 0.6994 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001496/0.163, allocations: 63.86 kB / 0.6994 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.163, allocations: 0 / 0.6994 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.366e-05/0.1631, allocations: 23.98 kB / 0.6994 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002722/0.1634, allocations: 15.92 kB / 0.6995 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.1648, allocations: 1.361 MB / 0.7008 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.1651, allocations: 0.6975 MB / 0.7015 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.504e-05/0.1652, allocations: 4 kB / 0.7015 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.1652, allocations: 19.53 kB / 0.7015 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1652, allocations: 0 / 0.7015 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.1874, allocations: 1.742 MB / 0.7032 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.729/7.917, allocations: 10.86 kB / 0.7032 GB, free: 9.988 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)