Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.001601/0.001601, allocations: 116.4 kB / 17.08 MB, free: 5.82 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.001579/0.001579, allocations: 191.6 kB / 20.02 MB, free: 2.93 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.41/1.41, allocations: 222.9 MB / 245.7 MB, free: 4.324 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.185/1.185, allocations: 173.4 MB / 471.3 MB, free: 6.684 MB / 366.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-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: translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 68.86 kB / 0.649 GB, free: 22.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1568, allocations: 89.53 MB / 0.7365 GB, free: 3.617 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001551/0.1584, allocations: 0.5847 MB / 0.737 GB, free: 3.035 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002367/0.1586, allocations: 51.78 kB / 0.7371 GB, free: 2.984 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.458e-05/0.1587, allocations: 0 / 0.7371 GB, free: 2.984 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.448e-05/0.1587, allocations: 0 / 0.7371 GB, free: 2.984 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-06/0.1587, allocations: 0 / 0.7371 GB, free: 2.984 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.1589, allocations: 11.94 kB / 0.7371 GB, free: 2.973 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 3.667e-05/0.159, allocations: 11.97 kB / 0.7371 GB, free: 2.961 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.159, allocations: 4 kB / 0.7371 GB, free: 2.957 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.544e-05/0.159, allocations: 8 kB / 0.7371 GB, free: 2.949 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.821e-05/0.1591, allocations: 0 / 0.7371 GB, free: 2.949 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.524e-06/0.1591, allocations: 0 / 0.7371 GB, free: 2.949 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.996e-05/0.1592, allocations: 15.98 kB / 0.7371 GB, free: 2.934 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.964e-06/0.1592, allocations: 0 / 0.7371 GB, free: 2.934 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.322e-05/0.1592, allocations: 4 kB / 0.7371 GB, free: 2.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.469e-05/0.1593, allocations: 23.89 kB / 0.7372 GB, free: 2.906 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1593, allocations: 3.938 kB / 0.7372 GB, free: 2.902 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1593, allocations: 0 / 0.7372 GB, free: 2.902 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.1593, allocations: 4 kB / 0.7372 GB, free: 2.898 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003086/0.1596, allocations: 307.6 kB / 0.7375 GB, free: 2.547 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.1597, allocations: 12.06 kB / 0.7375 GB, free: 2.535 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.1599, allocations: 16.91 kB / 0.7375 GB, free: 2.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.16, allocations: 164.4 kB / 0.7376 GB, free: 2.32 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.16, allocations: 384 / 0.7376 GB, free: 2.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-06/0.1601, allocations: 384 / 0.7376 GB, free: 2.32 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.1602, allocations: 42.19 kB / 0.7377 GB, free: 2.273 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1602, allocations: 192 / 0.7377 GB, free: 2.273 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1602, allocations: 7.938 kB / 0.7377 GB, free: 2.266 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1602, allocations: 0 / 0.7377 GB, free: 2.266 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.608e-05/0.1603, allocations: 11.98 kB / 0.7377 GB, free: 2.254 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001465/0.1605, allocations: 141.7 kB / 0.7378 GB, free: 2.066 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.637e-05/0.1606, allocations: 27 kB / 0.7379 GB, free: 2.031 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.056e-05/0.1606, allocations: 8.922 kB / 0.7379 GB, free: 2.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.1606, allocations: 0 / 0.7379 GB, free: 2.02 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/0.1607, allocations: 46.48 kB / 0.7379 GB, free: 1.965 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1607, allocations: 0 / 0.7379 GB, free: 1.965 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0002225/0.1609, allocations: 45.61 kB / 0.738 GB, free: 1.914 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.161, allocations: 55.53 kB / 0.738 GB, free: 1.848 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.045e-05/0.161, allocations: 93.86 kB / 0.7381 GB, free: 1.746 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.161, allocations: 25.7 kB / 0.7381 GB, free: 1.715 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.057e-05/0.1611, allocations: 84.08 kB / 0.7382 GB, free: 1.629 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.1611, allocations: 7.938 kB / 0.7382 GB, free: 1.621 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.1611, allocations: 13.72 kB / 0.7382 GB, free: 1.602 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1613, allocations: 318.8 kB / 0.7385 GB, free: 1.281 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.352e-05/0.1613, allocations: 0 / 0.7385 GB, free: 1.281 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.26e-05/0.1614, allocations: 11.98 kB / 0.7385 GB, free: 1.27 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.556e-05/0.1615, allocations: 20.78 kB / 0.7386 GB, free: 1.246 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1615, allocations: 0 / 0.7386 GB, free: 1.246 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001205/0.1616, allocations: 37.69 kB / 0.7386 GB, free: 1.203 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.1616, allocations: 8 kB / 0.7386 GB, free: 1.195 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1617, allocations: 0 / 0.7386 GB, free: 1.195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.1617, allocations: 15.97 kB / 0.7386 GB, free: 1.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.1617, allocations: 3.984 kB / 0.7386 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1618, allocations: 4 kB / 0.7386 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/0.1618, allocations: 3.938 kB / 0.7386 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.1618, allocations: 0 / 0.7386 GB, free: 1.168 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.25e-05/0.1619, allocations: 109.8 kB / 0.7387 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-06/0.1619, allocations: 4 kB / 0.7387 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/0.1619, allocations: 7.062 kB / 0.7387 GB, free: 1.039 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.1619, allocations: 7.984 kB / 0.7388 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1619, allocations: 3.938 kB / 0.7388 GB, free: 1.027 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.162, allocations: 0 / 0.7388 GB, free: 1.027 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.945e-05/0.1621, allocations: 141.7 kB / 0.7389 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1621, allocations: 0 / 0.7389 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.402e-05/0.1621, allocations: 7.984 kB / 0.7389 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.1621, allocations: 0 / 0.7389 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.1621, allocations: 3.938 kB / 0.7389 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1621, allocations: 4 kB / 0.7389 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1621, allocations: 0 / 0.7389 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.1623, allocations: 65.12 kB / 0.739 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/0.1623, allocations: 81.09 kB / 0.739 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.1624, allocations: 3.938 kB / 0.739 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.073e-05/0.1624, allocations: 4 kB / 0.7391 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-06/0.1624, allocations: 0 / 0.7391 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1624, allocations: 0 / 0.7391 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.39e-05/0.1625, allocations: 79.31 kB / 0.7391 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1625, allocations: 0 / 0.7391 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001809/0.1626, allocations: 4 kB / 0.7391 GB, free: 0.5547 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001161/0.1628, allocations: 99.19 kB / 0.7392 GB, free: 456 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001429/0.1629, allocations: 15.98 kB / 0.7392 GB, free: 440 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1629, allocations: 0 / 0.7392 GB, free: 440 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.915e-05/0.163, allocations: 12.05 kB / 0.7393 GB, free: 428 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001169/0.1631, allocations: 5.812 kB / 0.7393 GB, free: 424 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000231/0.1633, allocations: 98.77 kB / 0.7394 GB, free: 292 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.1637, allocations: 0.6729 MB / 0.74 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.1637, allocations: 11.42 kB / 0.74 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of SimCode: time 1.873e-06/0.1637, allocations: 0 / 0.74 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.001624/0.1653, allocations: 399.7 kB / 0.7404 GB, free: 15.18 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.642782496986911] Failed to read output from testmodel.py, exit status != 0: 0.17123439186252654 0.184291634 0.022438523000000002 Calling exit ...