Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_Buildings_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.00182/0.00182, allocations: 101.4 kB / 15.7 MB, free: 28 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.001966/0.001966, allocations: 199.6 kB / 16.64 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.1 MB / 222.5 MB, free: 4.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.67/1.67, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002774/0.002775, allocations: 72.12 kB / 0.6718 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.213, allocations: 114.6 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.OffTimer): time 0.002492/0.2155, allocations: 1.465 MB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006824/0.2162, allocations: 488.7 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.2163, allocations: 4 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.2163, allocations: 7.875 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.944e-05/0.2164, allocations: 3.938 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.2165, allocations: 27.91 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.761e-05/0.2166, allocations: 47.91 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.554e-05/0.2167, allocations: 15.98 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.839e-05/0.2168, allocations: 19.86 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.397e-05/0.2168, allocations: 23.92 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.2168, allocations: 4 kB / 0.7857 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.2169, allocations: 4 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.2169, allocations: 15.92 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.2169, allocations: 23.91 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.888e-05/0.217, allocations: 55.97 kB / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.217, allocations: 0 / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2171, allocations: 0 / 0.7858 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2171, allocations: 0 / 0.7858 GB, free: 11.06 MB / 0.6075 GB 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.0004467/0.2175, allocations: 363.5 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.2175, allocations: 8.031 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.268e-05/0.2176, allocations: 34.69 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.542e-05/0.2176, allocations: 12.84 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.2177, allocations: 172.3 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.2178, allocations: 384 / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.2178, allocations: 4.375 kB / 0.7863 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.961e-05/0.2179, allocations: 57.81 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2179, allocations: 3.984 kB / 0.7864 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.2179, allocations: 4 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.2179, allocations: 7.938 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.7e-05/0.218, allocations: 23.98 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.2184, allocations: 296.7 kB / 0.7867 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.656e-05/0.2185, allocations: 58.59 kB / 0.7868 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.231e-05/0.2186, allocations: 28.94 kB / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.663e-06/0.2186, allocations: 0 / 0.7868 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.2187, allocations: 71.38 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.2187, allocations: 0 / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002092/0.2189, allocations: 101.8 kB / 0.787 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.219, allocations: 59.41 kB / 0.787 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.993e-05/0.2191, allocations: 105.8 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.2191, allocations: 29.8 kB / 0.7871 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.686e-05/0.2191, allocations: 92.08 kB / 0.7872 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.2192, allocations: 27.64 kB / 0.7873 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.2192, allocations: 25.72 kB / 0.7873 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.072e-05/0.2193, allocations: 322.8 kB / 0.7876 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.78e-05/0.2194, allocations: 16 kB / 0.7876 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.841e-05/0.2194, allocations: 43.36 kB / 0.7877 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.43e-05/0.2195, allocations: 71.36 kB / 0.7877 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2195, allocations: 0 / 0.7877 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001367/0.2196, allocations: 105.7 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.2197, allocations: 8 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2197, allocations: 0 / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.2197, allocations: 4 kB / 0.7878 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.006e-05/0.2198, allocations: 11.94 kB / 0.7878 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.2198, allocations: 0 / 0.7878 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.399e-05/0.2198, allocations: 12.02 kB / 0.7879 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.2199, allocations: 11.94 kB / 0.7879 GB, free: 8.652 MB / 0.6075 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 7.888e-05/0.22, allocations: 117.1 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.22, allocations: 7.906 kB / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.22, allocations: 7.969 kB / 0.788 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.22, allocations: 3.984 kB / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.22, allocations: 0 / 0.788 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.22, allocations: 4 kB / 0.788 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003717/0.2204, allocations: 366.3 kB / 0.7883 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.2204, allocations: 0 / 0.7883 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.757e-05/0.2205, allocations: 4 kB / 0.7884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2205, allocations: 0 / 0.7884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.2205, allocations: 0 / 0.7884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2205, allocations: 3.938 kB / 0.7884 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2205, allocations: 0 / 0.7884 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/0.2206, allocations: 191.4 kB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/0.2207, allocations: 81.11 kB / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.2207, allocations: 3.984 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.2208, allocations: 11.94 kB / 0.7886 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.538e-05/0.2208, allocations: 7.984 kB / 0.7886 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.2208, allocations: 4 kB / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.629e-05/0.2209, allocations: 83.28 kB / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.664e-06/0.2209, allocations: 0 / 0.7887 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002333/0.2211, allocations: 11.94 kB / 0.7887 GB, free: 7.66 MB / 0.6075 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.0003881/0.2215, allocations: 0.7241 MB / 0.7894 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001216/0.2217, allocations: 51.92 kB / 0.7895 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2217, allocations: 0 / 0.7895 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.773e-05/0.2217, allocations: 27.92 kB / 0.7895 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.222, allocations: 20.94 kB / 0.7895 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.2231, allocations: 1.373 MB / 0.7909 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001938/0.2233, allocations: 0.6885 MB / 0.7916 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.602e-05/0.2234, allocations: 4 kB / 0.7916 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.2234, allocations: 27.36 kB / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of SimCode: time 3.5e-07/0.2234, allocations: 0 / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01533/0.2388, allocations: 1.732 MB / 0.7933 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.081/7.319, allocations: 13.59 kB / 0.7933 GB, free: 2.934 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)