Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_dev_IDEAS_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.001163/0.001163, allocations: 108 kB / 15.6 MB, free: 132 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.001161/0.001161, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.22/1.22, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9068/0.9068, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 64.69 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1972, allocations: 80.92 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.003087/0.2003, allocations: 1.449 MB / 0.5859 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008475/0.2012, allocations: 444.6 kB / 0.5863 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.077e-05/0.2013, allocations: 4 kB / 0.5863 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.485e-05/0.2013, allocations: 7.922 kB / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.633e-05/0.2014, allocations: 3.938 kB / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001777/0.2016, allocations: 19.92 kB / 0.5863 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.2017, allocations: 51.84 kB / 0.5864 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.2019, allocations: 15.98 kB / 0.5864 GB, free: 2.465 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.06e-05/0.2019, allocations: 19.86 kB / 0.5864 GB, free: 2.445 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.374e-05/0.202, allocations: 27.91 kB / 0.5864 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.202, allocations: 8 kB / 0.5865 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.2021, allocations: 7.938 kB / 0.5865 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.2021, allocations: 4 kB / 0.5865 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.2021, allocations: 27.86 kB / 0.5865 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.2023, allocations: 44.16 kB / 0.5865 GB, free: 2.328 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2023, allocations: 0 / 0.5865 GB, free: 2.328 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2023, allocations: 0 / 0.5865 GB, free: 2.328 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2023, allocations: 0 / 0.5865 GB, free: 2.328 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.0006118/0.2029, allocations: 359.4 kB / 0.5869 GB, free: 1.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.203, allocations: 12.03 kB / 0.5869 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.392e-05/0.203, allocations: 38.73 kB / 0.5869 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.2031, allocations: 12.84 kB / 0.5869 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.2032, allocations: 172.3 kB / 0.5871 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.2033, allocations: 384 / 0.5871 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.2033, allocations: 12.31 kB / 0.5871 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.2034, allocations: 61.8 kB / 0.5872 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.2034, allocations: 0 / 0.5872 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.2035, allocations: 0 / 0.5872 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2035, allocations: 0 / 0.5872 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.336e-05/0.2035, allocations: 35.92 kB / 0.5872 GB, free: 1.539 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.2041, allocations: 296.7 kB / 0.5875 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.2042, allocations: 54.56 kB / 0.5875 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.169e-05/0.2043, allocations: 32.98 kB / 0.5876 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.2043, allocations: 0 / 0.5876 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.2045, allocations: 71.38 kB / 0.5876 GB, free: 1.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.2045, allocations: 0 / 0.5876 GB, free: 1.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=9): time 0.0002197/0.2047, allocations: 105.7 kB / 0.5877 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.2048, allocations: 55.41 kB / 0.5878 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/0.2048, allocations: 101.8 kB / 0.5879 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.2049, allocations: 33.7 kB / 0.5879 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.2049, allocations: 92.03 kB / 0.588 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.2049, allocations: 19.75 kB / 0.588 GB, free: 0.582 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.205, allocations: 29.7 kB / 0.5881 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2051, allocations: 322.8 kB / 0.5884 GB, free: 228 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.621e-05/0.2052, allocations: 15.98 kB / 0.5884 GB, free: 212 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.445e-05/0.2052, allocations: 47.36 kB / 0.5884 GB, free: 152 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.2053, allocations: 75.53 kB / 0.5885 GB, free: 64 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2053, allocations: 0 / 0.5885 GB, free: 64 kB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001568/0.2055, allocations: 89.53 kB / 0.5886 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.2055, allocations: 10.5 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.788e-06/0.2055, allocations: 0 / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.2056, allocations: 0 / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-05/0.2056, allocations: 15.98 kB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2056, allocations: 7.875 kB / 0.5886 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.118e-05/0.2057, allocations: 12.03 kB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.2057, allocations: 8 kB / 0.5886 GB, free: 15.92 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 9.137e-05/0.2058, allocations: 121.1 kB / 0.5888 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.696e-05/0.2059, allocations: 11.91 kB / 0.5888 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.2059, allocations: 7.969 kB / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.2059, allocations: 0 / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2059, allocations: 0 / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2059, allocations: 0 / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.2063, allocations: 362.4 kB / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2064, allocations: 0 / 0.5891 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.509e-05/0.2064, allocations: 7.984 kB / 0.5891 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2064, allocations: 3.938 kB / 0.5891 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.2064, allocations: 4 kB / 0.5891 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2064, allocations: 3.938 kB / 0.5891 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2064, allocations: 0 / 0.5891 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.2066, allocations: 187.5 kB / 0.5893 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.177e-05/0.2067, allocations: 89.05 kB / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.2067, allocations: 0 / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.892e-05/0.2068, allocations: 11.92 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.2068, allocations: 4 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.2069, allocations: 11.98 kB / 0.5894 GB, free: 15 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.917e-05/0.2069, allocations: 79.28 kB / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.91e-07/0.2069, allocations: 0 / 0.5895 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002498/0.2072, allocations: 16 kB / 0.5895 GB, free: 14.91 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.0005101/0.2077, allocations: 0.7087 MB / 0.5902 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001617/0.2079, allocations: 63.98 kB / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2079, allocations: 0 / 0.5903 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.713e-05/0.2079, allocations: 23.94 kB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.2082, allocations: 21.41 kB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.2098, allocations: 1.381 MB / 0.5917 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.2101, allocations: 0.6884 MB / 0.5923 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.373e-05/0.2101, allocations: 4 kB / 0.5923 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.2102, allocations: 23.42 kB / 0.5924 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.2102, allocations: 0 / 0.5924 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02357/0.2338, allocations: 1.705 MB / 0.594 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.539/8.773, allocations: 11.05 kB / 0.594 GB, free: 10.22 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1)