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.001319/0.001319, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001547/0.001547, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9377/0.9377, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.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.8367/0.8367, allocations: 154.6 MB / 414.8 MB, free: 488 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. " [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.283e-06/1.283e-06, allocations: 0 / 479.9 MB, free: 6.914 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229e-05/1.358e-05, allocations: 2.312 kB / 479.9 MB, free: 6.91 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002299/0.002312, allocations: 2.097 MB / 482 MB, free: 4.836 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000893/0.003205, allocations: 0.7084 MB / 482.8 MB, free: 4.137 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.144e-05/0.003287, allocations: 4.547 kB / 482.8 MB, free: 4.133 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003758/0.003663, allocations: 106.4 kB / 482.9 MB, free: 4.031 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.003819, allocations: 67.94 kB / 482.9 MB, free: 3.973 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.003962, allocations: 63.73 kB / 483 MB, free: 3.91 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.004137, allocations: 172.5 kB / 483.2 MB, free: 3.742 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.004297, allocations: 77.84 kB / 483.2 MB, free: 3.668 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.00445, allocations: 109.6 kB / 483.3 MB, free: 3.562 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.004575, allocations: 55.8 kB / 483.4 MB, free: 3.508 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.004593, allocations: 12 kB / 483.4 MB, free: 3.496 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.602e-05/0.004679, allocations: 51.89 kB / 483.5 MB, free: 3.445 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.754e-05/0.004727, allocations: 41.14 kB / 483.5 MB, free: 3.406 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.004776, allocations: 47.8 kB / 483.5 MB, free: 3.359 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.004943, allocations: 135.5 kB / 483.7 MB, free: 3.227 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.004944, allocations: 4 kB / 483.7 MB, free: 3.223 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.004945, allocations: 0.5 kB / 483.7 MB, free: 3.223 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.004948, allocations: 1.344 kB / 483.7 MB, free: 3.223 MB / 442.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.0004015/0.005349, allocations: 398.9 kB / 484.1 MB, free: 2.801 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.005377, allocations: 8.031 kB / 484.1 MB, free: 2.793 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.005572, allocations: 45.53 kB / 484.1 MB, free: 2.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.00573, allocations: 150.8 kB / 484.3 MB, free: 2.578 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.005774, allocations: 67.02 kB / 484.3 MB, free: 2.504 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.005795, allocations: 12.38 kB / 484.4 MB, free: 2.492 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.005958, allocations: 161.3 kB / 484.5 MB, free: 2.309 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.005967, allocations: 3.938 kB / 484.5 MB, free: 2.305 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.005977, allocations: 4 kB / 484.5 MB, free: 2.301 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.005992, allocations: 4 kB / 484.5 MB, free: 2.297 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.507e-05/0.006047, allocations: 58.66 kB / 484.6 MB, free: 2.234 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.006471, allocations: 495.9 kB / 485.1 MB, free: 1.715 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.006591, allocations: 65.83 kB / 485.1 MB, free: 1.637 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.00662, allocations: 42.56 kB / 485.2 MB, free: 1.586 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.009e-05/0.00663, allocations: 4 kB / 485.2 MB, free: 1.582 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003808/0.007011, allocations: 163.6 kB / 485.3 MB, free: 1.395 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.007012, allocations: 0.625 kB / 485.3 MB, free: 1.395 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.000149/0.007161, allocations: 166.7 kB / 485.5 MB, free: 1.207 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.00721, allocations: 133.3 kB / 485.6 MB, free: 1.047 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.84e-05/0.007299, allocations: 174.5 kB / 485.8 MB, free: 0.8633 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.00731, allocations: 26.33 kB / 485.8 MB, free: 0.832 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.00736, allocations: 140.3 kB / 486 MB, free: 0.6914 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.007376, allocations: 19.83 kB / 486 MB, free: 0.6719 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.007417, allocations: 46.27 kB / 486 MB, free: 0.6211 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.205e-05/0.007489, allocations: 326.8 kB / 486.3 MB, free: 300 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.39e-05/0.007523, allocations: 64 kB / 486.4 MB, free: 224 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.319e-05/0.007586, allocations: 145.2 kB / 486.5 MB, free: 36 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.007715, allocations: 208.7 kB / 486.8 MB, free: 15.78 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.007717, allocations: 0 / 486.8 MB, free: 15.78 MB / 458.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001479/0.007865, allocations: 234 kB / 487 MB, free: 15.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.007895, allocations: 60.62 kB / 487 MB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.0079, allocations: 4 kB / 487 MB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.007913, allocations: 4 kB / 487 MB, free: 15.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.516e-05/0.007988, allocations: 32.64 kB / 487.1 MB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.007994, allocations: 7.938 kB / 487.1 MB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.441e-05/0.008058, allocations: 24.97 kB / 487.1 MB, free: 15.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.008068, allocations: 8 kB / 487.1 MB, free: 15.38 MB / 458.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.408e-05/0.008142, allocations: 152.2 kB / 487.3 MB, free: 15.21 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.008156, allocations: 11.98 kB / 487.3 MB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.008179, allocations: 17.45 kB / 487.3 MB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.008181, allocations: 0 / 487.3 MB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.008184, allocations: 4.531 kB / 487.3 MB, free: 15.17 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.008187, allocations: 7.359 kB / 487.3 MB, free: 15.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.139e-05/0.008259, allocations: 96.67 kB / 487.4 MB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.00826, allocations: 5.406 kB / 487.4 MB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.008295, allocations: 8 kB / 487.4 MB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.008297, allocations: 0 / 487.4 MB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.008304, allocations: 4 kB / 487.4 MB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.008306, allocations: 5.078 kB / 487.4 MB, free: 15.03 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.008307, allocations: 0 / 487.4 MB, free: 15.03 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.008466, allocations: 226 kB / 487.6 MB, free: 14.77 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.381e-05/0.00848, allocations: 11.89 kB / 487.7 MB, free: 14.76 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.008496, allocations: 4 kB / 487.7 MB, free: 14.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.476e-05/0.00853, allocations: 13.39 kB / 487.7 MB, free: 14.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.081e-05/0.008571, allocations: 3.984 kB / 487.7 MB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.008576, allocations: 4 kB / 487.7 MB, free: 14.74 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.482e-05/0.008611, allocations: 47.42 kB / 487.7 MB, free: 14.69 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008611, allocations: 0.5938 kB / 487.7 MB, free: 14.69 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000135/0.008746, allocations: 39.89 kB / 487.8 MB, free: 14.65 MB / 458.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 7.101e-05/0.008817, allocations: 77.86 kB / 487.8 MB, free: 14.57 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001734/0.00899, allocations: 270.5 kB / 488.1 MB, free: 14.26 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.008996, allocations: 4 kB / 488.1 MB, free: 14.26 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.142e-05/0.009058, allocations: 110 kB / 488.2 MB, free: 14.13 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001109/0.009169, allocations: 20.7 kB / 488.2 MB, free: 14.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005064/0.009675, allocations: 318.1 kB / 488.5 MB, free: 13.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.913e-05/0.009714, allocations: 71.33 kB / 488.6 MB, free: 13.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.607e-05/0.00975, allocations: 11.31 kB / 488.6 MB, free: 13.67 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.633e-05/0.009827, allocations: 75.36 kB / 488.7 MB, free: 13.6 MB / 458.7 MB Notification: Performance of SimCode: time 7.92e-07/0.009827, allocations: 0.9375 kB / 488.7 MB, free: 13.6 MB / 458.7 MB Notification: Performance of Templates: time 0.003007/0.01283, allocations: 1.533 MB / 490.2 MB, free: 12.2 MB / 458.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.584593767300248]