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.001101/0.001102, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001173/0.001173, allocations: 188.8 kB / 16.25 MB, free: 6.629 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.34/1.34, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002141, allocations: 279 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9254/0.9254, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002686/0.002686, allocations: 88.88 kB / 0.5948 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2128, allocations: 86.98 MB / 0.6797 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.OffTimer): time 0.003952/0.2168, allocations: 1.519 MB / 0.6812 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009855/0.2178, allocations: 433.2 kB / 0.6816 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.714e-05/0.2179, allocations: 0.7188 kB / 0.6816 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.293e-05/0.218, allocations: 0 / 0.6816 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.2181, allocations: 9.766 kB / 0.6816 GB, free: 15 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001912/0.2183, allocations: 15.98 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.2185, allocations: 55.84 kB / 0.6817 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.2186, allocations: 12.28 kB / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.2187, allocations: 19.92 kB / 0.6817 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.412e-05/0.2188, allocations: 23.91 kB / 0.6818 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.555e-05/0.2188, allocations: 4 kB / 0.6818 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.775e-05/0.2188, allocations: 11.94 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.2188, allocations: 4 kB / 0.6818 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.991e-05/0.2189, allocations: 31.84 kB / 0.6818 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.219, allocations: 43.83 kB / 0.6818 GB, free: 14.78 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.2191, allocations: 3.938 kB / 0.6818 GB, free: 14.78 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2191, allocations: 0 / 0.6818 GB, free: 14.78 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.2191, allocations: 0 / 0.6818 GB, free: 14.78 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.0005697/0.2197, allocations: 359.4 kB / 0.6822 GB, free: 14.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.2197, allocations: 12.03 kB / 0.6822 GB, free: 14.37 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.013e-05/0.2198, allocations: 38.73 kB / 0.6822 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.2198, allocations: 8.844 kB / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.22, allocations: 164.3 kB / 0.6824 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.22, allocations: 8.375 kB / 0.6824 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.22, allocations: 8.375 kB / 0.6824 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.2202, allocations: 61.8 kB / 0.6825 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.2202, allocations: 0 / 0.6825 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.2202, allocations: 4 kB / 0.6825 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2202, allocations: 0 / 0.6825 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.956e-05/0.2203, allocations: 27.92 kB / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006055/0.2209, allocations: 304.7 kB / 0.6828 GB, free: 13.65 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.2211, allocations: 58.59 kB / 0.6829 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.2212, allocations: 24.94 kB / 0.6829 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.2212, allocations: 8 kB / 0.6829 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.2214, allocations: 71.38 kB / 0.683 GB, free: 13.47 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.844e-06/0.2214, allocations: 0 / 0.683 GB, free: 13.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002949/0.2217, allocations: 97.61 kB / 0.683 GB, free: 13.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.2218, allocations: 55.78 kB / 0.6831 GB, free: 13.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.26e-05/0.2219, allocations: 109.8 kB / 0.6832 GB, free: 13.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.2219, allocations: 29.7 kB / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.222, allocations: 88.08 kB / 0.6833 GB, free: 13.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.222, allocations: 27.59 kB / 0.6833 GB, free: 13.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.2221, allocations: 33.64 kB / 0.6834 GB, free: 12.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2222, allocations: 322.8 kB / 0.6837 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.585e-05/0.2223, allocations: 16 kB / 0.6837 GB, free: 12.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.2224, allocations: 47.42 kB / 0.6837 GB, free: 12.59 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.2225, allocations: 67.36 kB / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2225, allocations: 0 / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000192/0.2227, allocations: 85.62 kB / 0.6839 GB, free: 12.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.2227, allocations: 6.344 kB / 0.6839 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2227, allocations: 8.031 kB / 0.6839 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.2228, allocations: 3.984 kB / 0.6839 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.098e-05/0.2229, allocations: 11.94 kB / 0.6839 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2229, allocations: 4 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.041e-05/0.223, allocations: 11.91 kB / 0.6839 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.223, allocations: 15.91 kB / 0.684 GB, free: 12.37 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 0.0001006/0.2231, allocations: 117.4 kB / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.2231, allocations: 0 / 0.6841 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.835e-05/0.2232, allocations: 15.97 kB / 0.6841 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2232, allocations: 0 / 0.6841 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.2232, allocations: 4.062 kB / 0.6841 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2232, allocations: 0 / 0.6841 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.2237, allocations: 362.3 kB / 0.6844 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.2237, allocations: 3.984 kB / 0.6844 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.2238, allocations: 8.219 kB / 0.6844 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.2238, allocations: 4 kB / 0.6844 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.2238, allocations: 4 kB / 0.6844 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.2238, allocations: 7.938 kB / 0.6845 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2238, allocations: 0 / 0.6845 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.2241, allocations: 187.5 kB / 0.6846 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.2241, allocations: 85.11 kB / 0.6847 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.2242, allocations: 7.938 kB / 0.6847 GB, free: 11.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.2243, allocations: 11.92 kB / 0.6847 GB, free: 11.47 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.215e-05/0.2243, allocations: 4 kB / 0.6847 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.2244, allocations: 7.984 kB / 0.6847 GB, free: 11.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.443e-05/0.2244, allocations: 83.28 kB / 0.6848 GB, free: 11.38 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2244, allocations: 0 / 0.6848 GB, free: 11.38 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000403/0.2248, allocations: 16 kB / 0.6848 GB, free: 11.36 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.0005136/0.2254, allocations: 0.7104 MB / 0.6855 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.2256, allocations: 67.84 kB / 0.6856 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2256, allocations: 0 / 0.6856 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.313e-05/0.2256, allocations: 20 kB / 0.6856 GB, free: 10.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.2261, allocations: 15.92 kB / 0.6856 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.2277, allocations: 1.389 MB / 0.687 GB, free: 9.039 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.228, allocations: 0.6846 MB / 0.6877 GB, free: 8.328 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.133e-05/0.228, allocations: 8.219 kB / 0.6877 GB, free: 8.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.2281, allocations: 23.42 kB / 0.6877 GB, free: 8.297 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2281, allocations: 4 kB / 0.6877 GB, free: 8.293 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8852/1.113, allocations: 1.6 MB / 0.6893 GB, free: 6.816 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/1.114, allocations: 208.6 kB / 0.6895 GB, free: 6.562 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.728/2.841, allocations: 4.062 kB / 0.6895 GB, free: 6.559 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)