Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001423/0.002533, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001336/0.002386, allocations: 475.6 kB / 11.8 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08996/1.093, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.872/0.872, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2786/1.151, allocations: 49.05 MB / 447.8 MB, free: 6.59 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 449.1 MB, free: 5.312 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.057e-05/1.171e-05, allocations: 5.922 kB / 449.1 MB, free: 5.309 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002859/0.002871, allocations: 2.177 MB / 451.3 MB, free: 3.168 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009094/0.00378, allocations: 0.7081 MB / 452 MB, free: 2.465 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.258e-05/0.003853, allocations: 0.5469 kB / 452 MB, free: 2.465 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003299/0.004183, allocations: 124.6 kB / 452.1 MB, free: 2.348 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.004309, allocations: 67.86 kB / 452.2 MB, free: 2.293 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001348/0.004444, allocations: 72.81 kB / 452.3 MB, free: 2.223 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002099/0.004654, allocations: 172.1 kB / 452.4 MB, free: 2.059 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.004818, allocations: 82.02 kB / 452.5 MB, free: 1.984 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003036/0.005122, allocations: 123.6 kB / 452.6 MB, free: 1.863 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.005271, allocations: 59.8 kB / 452.7 MB, free: 1.805 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.005295, allocations: 12 kB / 452.7 MB, free: 1.793 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.005401, allocations: 61.84 kB / 452.8 MB, free: 1.734 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 4.779e-05/0.005449, allocations: 31.86 kB / 452.8 MB, free: 1.703 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.19e-05/0.005501, allocations: 35.94 kB / 452.8 MB, free: 1.668 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.005692, allocations: 123.5 kB / 453 MB, free: 1.547 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.005704, allocations: 0 / 453 MB, free: 1.547 MB / 426.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005704, allocations: 0.6562 kB / 453 MB, free: 1.547 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.005716, allocations: 0 / 453 MB, free: 1.547 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005368/0.006253, allocations: 438.8 kB / 453.4 MB, free: 1.086 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.006286, allocations: 8.031 kB / 453.4 MB, free: 1.078 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002787/0.006565, allocations: 118.6 kB / 453.5 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.006732, allocations: 142.8 kB / 453.6 MB, free: 0.7812 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.663e-05/0.006779, allocations: 71.14 kB / 453.7 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.874e-05/0.006808, allocations: 20.3 kB / 453.7 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.006991, allocations: 154.6 kB / 453.9 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.006999, allocations: 0 / 453.9 MB, free: 0.5078 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.007011, allocations: 4 kB / 453.9 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.007028, allocations: 4 kB / 453.9 MB, free: 0.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.761e-05/0.007096, allocations: 57.62 kB / 453.9 MB, free: 448 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004359/0.007531, allocations: 0.4968 MB / 454.4 MB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.00765, allocations: 62.05 kB / 454.5 MB, free: 15.83 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.836e-05/0.007678, allocations: 47.91 kB / 454.6 MB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.007687, allocations: 3.938 kB / 454.6 MB, free: 15.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/0.007806, allocations: 168.4 kB / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.007808, allocations: 4.875 kB / 454.7 MB, free: 15.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001386/0.007946, allocations: 162.8 kB / 454.9 MB, free: 15.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.007997, allocations: 171.3 kB / 455.1 MB, free: 15.18 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.446e-05/0.008081, allocations: 175 kB / 455.2 MB, free: 15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.008092, allocations: 29.7 kB / 455.3 MB, free: 14.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.008139, allocations: 136.2 kB / 455.4 MB, free: 14.83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.008155, allocations: 25.12 kB / 455.4 MB, free: 14.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/0.008207, allocations: 41.66 kB / 455.5 MB, free: 14.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.016e-05/0.008287, allocations: 326.8 kB / 455.8 MB, free: 14.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.008332, allocations: 67.31 kB / 455.8 MB, free: 14.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.008685, allocations: 149.4 kB / 456 MB, free: 14.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.00881, allocations: 204.5 kB / 456.2 MB, free: 13.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.008813, allocations: 4.594 kB / 456.2 MB, free: 13.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001518/0.008965, allocations: 235.3 kB / 456.4 MB, free: 13.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/0.009004, allocations: 63.39 kB / 456.5 MB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-06/0.009008, allocations: 0 / 456.5 MB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.009021, allocations: 4 kB / 456.5 MB, free: 13.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.009128, allocations: 40.8 kB / 456.5 MB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.009139, allocations: 7.938 kB / 456.5 MB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.009211, allocations: 24.41 kB / 456.6 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.009221, allocations: 9.094 kB / 456.6 MB, free: 13.49 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * 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.248e-05/0.009293, allocations: 150.4 kB / 456.7 MB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.009312, allocations: 17.45 kB / 456.7 MB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.065e-05/0.009332, allocations: 18.08 kB / 456.7 MB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.009335, allocations: 4 kB / 456.7 MB, free: 13.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.009337, allocations: 8.5 kB / 456.8 MB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.009339, allocations: 0 / 456.8 MB, free: 13.28 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.746e-05/0.009407, allocations: 93.31 kB / 456.8 MB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.009407, allocations: 0.625 kB / 456.8 MB, free: 13.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.784e-05/0.009455, allocations: 12.92 kB / 456.9 MB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.009469, allocations: 17.5 kB / 456.9 MB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.009471, allocations: 4.531 kB / 456.9 MB, free: 13.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.009479, allocations: 8 kB / 456.9 MB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.00948, allocations: 0.8125 kB / 456.9 MB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.009482, allocations: 3.938 kB / 456.9 MB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001601/0.009642, allocations: 214.8 kB / 457.1 MB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.009657, allocations: 4 kB / 457.1 MB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.312e-05/0.00969, allocations: 7.984 kB / 457.1 MB, free: 12.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.286e-05/0.009723, allocations: 8 kB / 457.1 MB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.009729, allocations: 8.953 kB / 457.1 MB, free: 12.86 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.464e-05/0.009763, allocations: 46.34 kB / 457.2 MB, free: 12.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009763, allocations: 0 / 457.2 MB, free: 12.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001251/0.009888, allocations: 36.78 kB / 457.2 MB, free: 12.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.494e-05/0.009953, allocations: 85.92 kB / 457.3 MB, free: 12.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.01012, allocations: 277 kB / 457.6 MB, free: 12.37 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.01013, allocations: 4 kB / 457.6 MB, free: 12.37 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.954e-05/0.01019, allocations: 114 kB / 457.7 MB, free: 12.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.01033, allocations: 121.6 kB / 457.8 MB, free: 12.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009232/0.01125, allocations: 332.1 kB / 458.1 MB, free: 11.74 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.295e-05/0.01128, allocations: 71.83 kB / 458.2 MB, free: 11.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.491e-05/0.01132, allocations: 11.05 kB / 458.2 MB, free: 11.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.773e-05/0.0114, allocations: 76.86 kB / 458.3 MB, free: 11.57 MB / 442.7 MB Notification: Performance of SimCode: time 8.32e-07/0.0114, allocations: 0 / 458.3 MB, free: 11.57 MB / 442.7 MB Notification: Performance of Templates: time 0.002966/0.01436, allocations: 1.526 MB / 459.8 MB, free: 10.18 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7476250929757953]