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.00079/0.00079, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004615/0.004615, allocations: 171.7 kB / 16.27 MB, free: 6.652 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.271/1.271, allocations: 223.2 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00174/0.00174, allocations: 274.3 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9276/0.9276, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003903, allocations: 15.78 kB / 0.5988 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1447, allocations: 88.54 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.00143/0.1461, allocations: 1.181 MB / 0.6864 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005867/0.1467, allocations: 430.1 kB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.1468, allocations: 4 kB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.1468, allocations: 0 / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.941e-05/0.1469, allocations: 11.92 kB / 0.6868 GB, free: 13.35 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.147, allocations: 12.48 kB / 0.6868 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.13e-05/0.1471, allocations: 52.34 kB / 0.6869 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.937e-05/0.1472, allocations: 9.469 kB / 0.6869 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.609e-05/0.1473, allocations: 19.92 kB / 0.6869 GB, free: 13.26 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.093e-05/0.1473, allocations: 20.47 kB / 0.6869 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.792e-05/0.1474, allocations: 5.375 kB / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-06/0.1474, allocations: 0 / 0.6869 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.038e-05/0.1474, allocations: 11.92 kB / 0.6869 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.811e-05/0.1475, allocations: 45.62 kB / 0.687 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.89e-05/0.1475, allocations: 45.11 kB / 0.687 GB, free: 13.13 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1476, allocations: 0 / 0.687 GB, free: 13.13 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1476, allocations: 3.938 kB / 0.687 GB, free: 13.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.1476, allocations: 0 / 0.687 GB, free: 13.12 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.0004266/0.148, allocations: 361.6 kB / 0.6874 GB, free: 12.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.148, allocations: 8.031 kB / 0.6874 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.889e-05/0.1481, allocations: 34.75 kB / 0.6874 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.1481, allocations: 4.922 kB / 0.6874 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.1482, allocations: 172.3 kB / 0.6876 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.1482, allocations: 4.375 kB / 0.6876 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.1483, allocations: 8.375 kB / 0.6876 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.1484, allocations: 62.23 kB / 0.6876 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.1484, allocations: 0.625 kB / 0.6876 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1484, allocations: 4 kB / 0.6876 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1484, allocations: 4.844 kB / 0.6876 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.362e-05/0.1485, allocations: 19.98 kB / 0.6877 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.1489, allocations: 313.8 kB / 0.688 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.973e-05/0.149, allocations: 50.56 kB / 0.688 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.105e-05/0.1491, allocations: 24.94 kB / 0.688 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.1491, allocations: 4 kB / 0.688 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.1493, allocations: 85.31 kB / 0.6881 GB, free: 11.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.1493, allocations: 0 / 0.6881 GB, free: 11.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001995/0.1495, allocations: 93.62 kB / 0.6882 GB, free: 11.73 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.1495, allocations: 56.02 kB / 0.6883 GB, free: 11.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.477e-05/0.1496, allocations: 111.5 kB / 0.6884 GB, free: 11.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1496, allocations: 25.7 kB / 0.6884 GB, free: 11.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.912e-05/0.1497, allocations: 92.12 kB / 0.6885 GB, free: 11.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.1497, allocations: 27.64 kB / 0.6885 GB, free: 11.39 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.1497, allocations: 22.36 kB / 0.6885 GB, free: 11.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.1498, allocations: 315.5 kB / 0.6888 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.519e-05/0.1499, allocations: 19.98 kB / 0.6889 GB, free: 11.03 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.83e-05/0.1499, allocations: 48.86 kB / 0.6889 GB, free: 10.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.028e-05/0.15, allocations: 68.86 kB / 0.689 GB, free: 10.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.15, allocations: 0 / 0.689 GB, free: 10.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001333/0.1501, allocations: 94.36 kB / 0.6891 GB, free: 10.8 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1502, allocations: 8.031 kB / 0.6891 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1502, allocations: 4 kB / 0.6891 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1502, allocations: 0 / 0.6891 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.97e-05/0.1503, allocations: 11.94 kB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1503, allocations: 3.984 kB / 0.6891 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.374e-05/0.1503, allocations: 11.91 kB / 0.6891 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.1504, allocations: 11.94 kB / 0.6891 GB, free: 10.75 MB / 494.1 MB 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 7.241e-05/0.1504, allocations: 115.8 kB / 0.6892 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.237e-05/0.1505, allocations: 8 kB / 0.6892 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.8e-05/0.1505, allocations: 15.89 kB / 0.6892 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1505, allocations: 0 / 0.6892 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1505, allocations: 0 / 0.6892 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1505, allocations: 4 kB / 0.6892 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003594/0.1509, allocations: 366.6 kB / 0.6896 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1509, allocations: 0 / 0.6896 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.711e-05/0.1509, allocations: 12.06 kB / 0.6896 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1509, allocations: 0 / 0.6896 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.1509, allocations: 0 / 0.6896 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.151, allocations: 7.922 kB / 0.6896 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.151, allocations: 0 / 0.6896 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.1511, allocations: 179.5 kB / 0.6898 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.786e-05/0.1512, allocations: 81.02 kB / 0.6899 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1512, allocations: 3.984 kB / 0.6899 GB, free: 9.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.842e-05/0.1513, allocations: 23.94 kB / 0.6899 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.75e-05/0.1513, allocations: 7.984 kB / 0.6899 GB, free: 9.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.1513, allocations: 0 / 0.6899 GB, free: 9.84 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.729e-05/0.1514, allocations: 87.27 kB / 0.69 GB, free: 9.754 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.582e-06/0.1514, allocations: 0 / 0.69 GB, free: 9.754 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.1516, allocations: 15.94 kB / 0.69 GB, free: 9.738 MB / 494.1 MB 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.0003706/0.152, allocations: 0.7163 MB / 0.6907 GB, free: 8.996 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001108/0.1521, allocations: 47.92 kB / 0.6907 GB, free: 8.949 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1521, allocations: 0 / 0.6907 GB, free: 8.949 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.453e-05/0.1522, allocations: 32.27 kB / 0.6908 GB, free: 8.918 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.1524, allocations: 8.547 kB / 0.6908 GB, free: 8.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.1536, allocations: 1.408 MB / 0.6922 GB, free: 7.406 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.1538, allocations: 0.6888 MB / 0.6928 GB, free: 6.691 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.754e-05/0.1539, allocations: 11.92 kB / 0.6928 GB, free: 6.68 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.1539, allocations: 11.44 kB / 0.6928 GB, free: 6.668 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1539, allocations: 4 kB / 0.6928 GB, free: 6.664 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01109/0.165, allocations: 1.482 MB / 0.6943 GB, free: 5.32 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/0.1653, allocations: 201.4 kB / 0.6945 GB, free: 5.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/1.87, allocations: 0 / 0.6945 GB, free: 5.07 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Examples_OffTimer.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.OffTimer.pipe 2>&1)