Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 110.2 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7888/0.7888, allocations: 134 MB / 436.6 MB, free: 1.281 MB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.OffTimer,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 68.34 kB / 0.6051 GB, free: 15.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1459, allocations: 84.67 MB / 0.6878 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.OffTimer): time 0.002491/0.1484, allocations: 1.465 MB / 0.6892 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0006974/0.1491, allocations: 454.8 kB / 0.6896 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.815e-05/0.1491, allocations: 0 / 0.6896 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.92e-05/0.1491, allocations: 3.938 kB / 0.6896 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.917e-05/0.1492, allocations: 19.92 kB / 0.6896 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.1494, allocations: 27.84 kB / 0.6897 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.823e-05/0.1494, allocations: 51.84 kB / 0.6897 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.182e-05/0.1495, allocations: 8 kB / 0.6897 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.256e-05/0.1496, allocations: 27.91 kB / 0.6898 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.1496, allocations: 15.92 kB / 0.6898 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1497, allocations: 4 kB / 0.6898 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.013e-05/0.1497, allocations: 4 kB / 0.6898 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.58e-05/0.1497, allocations: 19.92 kB / 0.6898 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.827e-05/0.1497, allocations: 15.92 kB / 0.6898 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.1498, allocations: 56.03 kB / 0.6899 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1498, allocations: 0 / 0.6899 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1498, allocations: 0 / 0.6899 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.97e-06/0.1499, allocations: 0 / 0.6899 GB, free: 9.094 MB / 0.5137 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.0005238/0.1504, allocations: 361.6 kB / 0.6902 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1504, allocations: 11.97 kB / 0.6902 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.1505, allocations: 34.75 kB / 0.6903 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/0.1505, allocations: 8.875 kB / 0.6903 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.1506, allocations: 172.3 kB / 0.6904 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1506, allocations: 4.375 kB / 0.6904 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.1506, allocations: 4.375 kB / 0.6904 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.1508, allocations: 65.73 kB / 0.6905 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1508, allocations: 0 / 0.6905 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1508, allocations: 4 kB / 0.6905 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.1508, allocations: 0 / 0.6905 GB, free: 8.344 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.536e-05/0.1508, allocations: 23.98 kB / 0.6905 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.1513, allocations: 300.8 kB / 0.6908 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1514, allocations: 50.59 kB / 0.6909 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.684e-05/0.1514, allocations: 28.94 kB / 0.6909 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.1514, allocations: 0 / 0.6909 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001532/0.1516, allocations: 71.38 kB / 0.691 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.1516, allocations: 3.938 kB / 0.691 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0002115/0.1518, allocations: 105.5 kB / 0.6911 GB, free: 7.691 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.1519, allocations: 63.33 kB / 0.6911 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.632e-05/0.1519, allocations: 97.86 kB / 0.6912 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.152, allocations: 33.7 kB / 0.6912 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.152, allocations: 92.06 kB / 0.6913 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.152, allocations: 19.84 kB / 0.6914 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.466e-05/0.1521, allocations: 29.7 kB / 0.6914 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1522, allocations: 326.8 kB / 0.6917 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.438e-05/0.1523, allocations: 15.98 kB / 0.6917 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.449e-05/0.1523, allocations: 45.94 kB / 0.6918 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.878e-05/0.1524, allocations: 71.55 kB / 0.6918 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1524, allocations: 0 / 0.6918 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001443/0.1525, allocations: 97.59 kB / 0.6919 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1526, allocations: 8 kB / 0.6919 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1526, allocations: 0 / 0.6919 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1526, allocations: 4 kB / 0.6919 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.866e-05/0.1526, allocations: 15.92 kB / 0.6919 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1526, allocations: 0 / 0.6919 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.221e-05/0.1527, allocations: 11.95 kB / 0.692 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.1527, allocations: 7.938 kB / 0.692 GB, free: 6.695 MB / 0.5137 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 8.209e-05/0.1528, allocations: 115.4 kB / 0.6921 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.1528, allocations: 11.98 kB / 0.6921 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.1528, allocations: 7.969 kB / 0.6921 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1528, allocations: 0 / 0.6921 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1528, allocations: 0 / 0.6921 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1529, allocations: 4 kB / 0.6921 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.1532, allocations: 366.3 kB / 0.6924 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1532, allocations: 480 / 0.6924 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.1533, allocations: 7.938 kB / 0.6925 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1533, allocations: 0 / 0.6925 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.1533, allocations: 11.98 kB / 0.6925 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1533, allocations: 7.922 kB / 0.6925 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1533, allocations: 3.938 kB / 0.6925 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.1534, allocations: 179.5 kB / 0.6926 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.51e-05/0.1535, allocations: 85.05 kB / 0.6927 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.1535, allocations: 0 / 0.6927 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.158e-05/0.1536, allocations: 12 kB / 0.6927 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.1536, allocations: 15.98 kB / 0.6928 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.1536, allocations: 4 kB / 0.6928 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.208e-05/0.1537, allocations: 83.27 kB / 0.6928 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1537, allocations: 0 / 0.6928 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002204/0.1539, allocations: 16 kB / 0.6929 GB, free: 5.676 MB / 0.5137 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.000445/0.1543, allocations: 0.7123 MB / 0.6935 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.1545, allocations: 56.19 kB / 0.6936 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1545, allocations: 0 / 0.6936 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.049e-05/0.1545, allocations: 23.98 kB / 0.6936 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.1548, allocations: 12.41 kB / 0.6936 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.1561, allocations: 1.391 MB / 0.695 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.1563, allocations: 0.6846 MB / 0.6957 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.762e-05/0.1564, allocations: 7.984 kB / 0.6957 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.1564, allocations: 15.44 kB / 0.6957 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of SimCode: time 3e-07/0.1564, allocations: 0 / 0.6957 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.1798, allocations: 1.753 MB / 0.6974 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.502/7.682, allocations: 11.38 kB / 0.6974 GB, free: 0.957 MB / 0.5137 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_OffTimer.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.846519918646663] Failed to read output from testmodel.py, exit status != 0: 7.744120623916388 7.758030276 7.605097471 Calling exit ...