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.001043/0.001044, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001216/0.001216, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.019/1.019, allocations: 135.3 MB / 426.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.000356, allocations: 8.219 kB / 0.5071 GB, free: 5.078 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2107, allocations: 82.31 MB / 0.5874 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.001846/0.2126, allocations: 1.173 MB / 0.5886 GB, free: 1.762 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007122/0.2133, allocations: 411.3 kB / 0.589 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.514e-05/0.2134, allocations: 0 / 0.589 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.089e-05/0.2134, allocations: 7.922 kB / 0.589 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.868e-05/0.2135, allocations: 0 / 0.589 GB, free: 1.348 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.2136, allocations: 23.92 kB / 0.589 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.992e-05/0.2137, allocations: 43.91 kB / 0.5891 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.2138, allocations: 12 kB / 0.5891 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.702e-05/0.2139, allocations: 19.91 kB / 0.5891 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.157e-05/0.214, allocations: 15.92 kB / 0.5891 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.214, allocations: 4 kB / 0.5891 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.214, allocations: 4 kB / 0.5891 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.214, allocations: 11.92 kB / 0.5891 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.186e-05/0.2141, allocations: 33.69 kB / 0.5892 GB, free: 1.176 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.239e-05/0.2142, allocations: 24.23 kB / 0.5892 GB, free: 1.152 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2142, allocations: 0 / 0.5892 GB, free: 1.152 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2142, allocations: 4 kB / 0.5892 GB, free: 1.148 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.2142, allocations: 0 / 0.5892 GB, free: 1.148 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.0005404/0.2147, allocations: 359.2 kB / 0.5895 GB, free: 0.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.2148, allocations: 8.031 kB / 0.5895 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.453e-05/0.2149, allocations: 38.56 kB / 0.5896 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.2149, allocations: 7.844 kB / 0.5896 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.2151, allocations: 175 kB / 0.5897 GB, free: 488 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.2151, allocations: 12 kB / 0.5898 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.2151, allocations: 4 kB / 0.5898 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.2153, allocations: 53.67 kB / 0.5898 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2153, allocations: 0 / 0.5898 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.2153, allocations: 0 / 0.5898 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.2153, allocations: 4 kB / 0.5898 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.364e-05/0.2154, allocations: 27.92 kB / 0.5898 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005308/0.2159, allocations: 304.7 kB / 0.5901 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.2161, allocations: 58.59 kB / 0.5902 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.76e-05/0.2162, allocations: 28.94 kB / 0.5902 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.2162, allocations: 0 / 0.5902 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.2164, allocations: 71.39 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.2164, allocations: 3.938 kB / 0.5903 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0002438/0.2166, allocations: 101.5 kB / 0.5904 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.2167, allocations: 59.36 kB / 0.5904 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.387e-05/0.2168, allocations: 105.8 kB / 0.5905 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.2168, allocations: 33.7 kB / 0.5906 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.2169, allocations: 84.52 kB / 0.5907 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.2169, allocations: 23.64 kB / 0.5907 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.2169, allocations: 8 kB / 0.5907 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2171, allocations: 310.8 kB / 0.591 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.666e-05/0.2171, allocations: 27.92 kB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.694e-05/0.2172, allocations: 39.42 kB / 0.591 GB, free: 15 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.678e-05/0.2172, allocations: 20 kB / 0.5911 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2172, allocations: 0 / 0.5911 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001441/0.2174, allocations: 105.5 kB / 0.5912 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.2174, allocations: 4 kB / 0.5912 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2174, allocations: 4 kB / 0.5912 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2174, allocations: 288 / 0.5912 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.913e-05/0.2175, allocations: 8 kB / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.2175, allocations: 3.984 kB / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.2176, allocations: 11.95 kB / 0.5912 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.2176, allocations: 8 kB / 0.5912 GB, free: 14.84 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,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.2177, allocations: 129 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.274e-05/0.2178, allocations: 4 kB / 0.5913 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.2178, allocations: 11.95 kB / 0.5913 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2178, allocations: 0 / 0.5913 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2178, allocations: 0 / 0.5913 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2178, allocations: 0 / 0.5913 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004284/0.2183, allocations: 374.4 kB / 0.5917 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2183, allocations: 0 / 0.5917 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.758e-05/0.2183, allocations: 4 kB / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2183, allocations: 3.938 kB / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.2183, allocations: 0 / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2183, allocations: 0 / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.2183, allocations: 7.938 kB / 0.5917 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.2186, allocations: 179.4 kB / 0.5919 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.604e-05/0.2186, allocations: 89.05 kB / 0.592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.2186, allocations: 3.984 kB / 0.592 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.2187, allocations: 8.188 kB / 0.592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.2188, allocations: 11.94 kB / 0.592 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.2188, allocations: 7.938 kB / 0.592 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.799e-05/0.2188, allocations: 87.27 kB / 0.5921 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2189, allocations: 0 / 0.5921 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002258/0.2191, allocations: 12 kB / 0.5921 GB, free: 13.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005192/0.2196, allocations: 0.7162 MB / 0.5928 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.2198, allocations: 47.92 kB / 0.5928 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2198, allocations: 0 / 0.5928 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.723e-05/0.2198, allocations: 31.98 kB / 0.5929 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.2201, allocations: 9.625 kB / 0.5929 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008989/0.221, allocations: 0.5053 MB / 0.5934 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000327/0.2214, allocations: 0.6887 MB / 0.594 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.602e-05/0.2214, allocations: 0 / 0.594 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.2214, allocations: 19.42 kB / 0.5941 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.2214, allocations: 0 / 0.5941 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.2353, allocations: 1.469 MB / 0.5955 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.2355, allocations: 174.9 kB / 0.5957 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.162, allocations: 7.938 kB / 0.5957 GB, free: 10.12 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/linux/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) Environment - environmentSimulation: