Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.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.001274/0.001274, allocations: 107.7 kB / 18.88 MB, free: 3.051 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.001393/0.001393, allocations: 195.5 kB / 22.17 MB, free: 5.203 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.404/1.404, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.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.077/1.077, allocations: 175.8 MB / 481.9 MB, free: 7.688 MB / 382.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.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 64.34 kB / 0.6705 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5476/0.5496, allocations: 94.52 MB / 0.7628 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002519/0.5521, allocations: 1.502 MB / 0.7643 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.5535, allocations: 1.195 MB / 0.7654 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.5535, allocations: 1.625 kB / 0.7654 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.5537, allocations: 19.28 kB / 0.7654 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.5538, allocations: 48.48 kB / 0.7655 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.554, allocations: 57 kB / 0.7655 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.5542, allocations: 152.7 kB / 0.7657 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.5543, allocations: 38.78 kB / 0.7657 GB, free: 8.492 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.349e-05/0.5544, allocations: 83.33 kB / 0.7658 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.5546, allocations: 51.75 kB / 0.7659 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.5546, allocations: 10.62 kB / 0.7659 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.333e-05/0.5547, allocations: 34.38 kB / 0.7659 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.447e-05/0.5548, allocations: 50.22 kB / 0.7659 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.267e-05/0.5548, allocations: 73.25 kB / 0.766 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.5551, allocations: 201 kB / 0.7662 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.5551, allocations: 0.75 kB / 0.7662 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5551, allocations: 3.938 kB / 0.7662 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.5551, allocations: 1.156 kB / 0.7662 GB, free: 8.281 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006101/0.5557, allocations: 499.8 kB / 0.7667 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.5558, allocations: 9.938 kB / 0.7667 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.366e-05/0.5558, allocations: 16.69 kB / 0.7667 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.5561, allocations: 261.9 kB / 0.767 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.5562, allocations: 117.2 kB / 0.7671 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.5563, allocations: 4.469 kB / 0.7671 GB, free: 7.477 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.5566, allocations: 163.6 kB / 0.7672 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.5566, allocations: 1.391 kB / 0.7672 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.5566, allocations: 1.156 kB / 0.7672 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.5566, allocations: 13.58 kB / 0.7673 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.246e-05/0.5567, allocations: 43.61 kB / 0.7673 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001011/0.5577, allocations: 461.3 kB / 0.7677 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 6.738e-05/0.5578, allocations: 36.17 kB / 0.7678 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.832e-05/0.5578, allocations: 20.62 kB / 0.7678 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.5579, allocations: 12.48 kB / 0.7678 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.839e-05/0.5579, allocations: 32.84 kB / 0.7678 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.5579, allocations: 1.469 kB / 0.7678 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.000253/0.5581, allocations: 108 kB / 0.7679 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.5582, allocations: 53.28 kB / 0.768 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.5584, allocations: 218.1 kB / 0.7682 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.5584, allocations: 30.64 kB / 0.7682 GB, free: 6.684 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.28e-05/0.5584, allocations: 129.4 kB / 0.7683 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.5585, allocations: 29.2 kB / 0.7684 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.5585, allocations: 31.03 kB / 0.7684 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.803e-05/0.5586, allocations: 324.8 kB / 0.7687 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.102e-05/0.5586, allocations: 31.67 kB / 0.7687 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-05/0.5587, allocations: 99.48 kB / 0.7688 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.5588, allocations: 142.1 kB / 0.769 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.5588, allocations: 1.312 kB / 0.769 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002238/0.559, allocations: 156.9 kB / 0.7691 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.5591, allocations: 7.062 kB / 0.7691 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.5591, allocations: 3.562 kB / 0.7691 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.5591, allocations: 3.438 kB / 0.7691 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.5592, allocations: 25.97 kB / 0.7692 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.5592, allocations: 8.984 kB / 0.7692 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.064e-05/0.5593, allocations: 15.61 kB / 0.7692 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.5593, allocations: 7.344 kB / 0.7692 GB, free: 5.855 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (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.202e-05/0.5594, allocations: 154.1 kB / 0.7693 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.5594, allocations: 14.69 kB / 0.7694 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001987/0.5596, allocations: 111.8 kB / 0.7695 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.5596, allocations: 0 / 0.7695 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.5596, allocations: 9 kB / 0.7695 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5596, allocations: 0.6094 kB / 0.7695 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.5598, allocations: 232.9 kB / 0.7697 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.5598, allocations: 1.406 kB / 0.7697 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.5599, allocations: 14.5 kB / 0.7697 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5599, allocations: 1.312 kB / 0.7697 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.5599, allocations: 5.188 kB / 0.7697 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.5599, allocations: 0 / 0.7697 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5599, allocations: 9.125 kB / 0.7697 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.56, allocations: 185.7 kB / 0.7699 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.5601, allocations: 94.2 kB / 0.77 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.5601, allocations: 11.94 kB / 0.77 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.5603, allocations: 18.83 kB / 0.77 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.78e-05/0.5603, allocations: 11.36 kB / 0.77 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.5604, allocations: 9.234 kB / 0.77 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001164/0.5605, allocations: 160.9 kB / 0.7702 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5605, allocations: 0 / 0.7702 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002992/0.5608, allocations: 32.17 kB / 0.7702 GB, free: 5.047 MB / 0.5762 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 (8): * Single equations (assignments): 8 * 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.0002142/0.561, allocations: 132.7 kB / 0.7704 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.5612, allocations: 69.42 kB / 0.7704 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5612, allocations: 1.562 kB / 0.7704 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.67e-05/0.5612, allocations: 29.75 kB / 0.7704 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003053/0.5615, allocations: 19.59 kB / 0.7705 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.5619, allocations: 296 kB / 0.7707 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.5621, allocations: 0.7316 MB / 0.7715 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.5622, allocations: 54.69 kB / 0.7715 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.5622, allocations: 19.98 kB / 0.7715 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.5622, allocations: 0 / 0.7715 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of Templates: time 0.005738/0.5679, allocations: 2.411 MB / 0.7739 GB, free: 3.785 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.164377893321216] Failed to read output from testmodel.py, exit status != 0: 0.575762027874589 0.588828265 0.030084179000000003 Calling exit ...