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.000785/0.000785, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007678/0.0007678, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8614/0.8614, allocations: 177.1 MB / 203.5 MB, free: 5.746 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-531:686: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-531:694: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.7022/0.7022, allocations: 154.6 MB / 414.5 MB, free: 0.8047 MB / 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.242e-06/1.242e-06, allocations: 0 / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.509e-05/1.633e-05, allocations: 2.844 kB / 0.6193 GB, free: 13.24 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002396/0.002413, allocations: 2.294 MB / 0.6215 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008762/0.003289, allocations: 0.8102 MB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.71e-05/0.003366, allocations: 7.938 kB / 0.6223 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0004275/0.003793, allocations: 143.3 kB / 0.6225 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.003931, allocations: 75.53 kB / 0.6225 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001319/0.004063, allocations: 63.8 kB / 0.6226 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.004235, allocations: 159.4 kB / 0.6227 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.004433, allocations: 85.11 kB / 0.6228 GB, free: 9.586 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.004589, allocations: 91.73 kB / 0.6229 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.004718, allocations: 63.78 kB / 0.623 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.004738, allocations: 15.94 kB / 0.623 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.943e-05/0.004817, allocations: 55.89 kB / 0.623 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.56e-05/0.004863, allocations: 43.83 kB / 0.6231 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.00491, allocations: 43.91 kB / 0.6231 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.005101, allocations: 183.4 kB / 0.6233 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.005103, allocations: 4 kB / 0.6233 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.02e-07/0.005103, allocations: 0 / 0.6233 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.005107, allocations: 0 / 0.6233 GB, free: 9.094 MB / 0.5886 GB 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.0004866/0.005594, allocations: 425.2 kB / 0.6237 GB, free: 8.637 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.005624, allocations: 8.031 kB / 0.6237 GB, free: 8.629 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.005791, allocations: 40.83 kB / 0.6238 GB, free: 8.59 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.005967, allocations: 154.1 kB / 0.6239 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.006018, allocations: 68.14 kB / 0.624 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.006042, allocations: 16.36 kB / 0.624 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.00625, allocations: 173.8 kB / 0.6242 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.006259, allocations: 0 / 0.6242 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.006272, allocations: 8 kB / 0.6242 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.006286, allocations: 7.938 kB / 0.6242 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.006417, allocations: 121.6 kB / 0.6243 GB, free: 7.988 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000498/0.006915, allocations: 0.5543 MB / 0.6248 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.007078, allocations: 84.25 kB / 0.6249 GB, free: 7.293 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.751e-05/0.007125, allocations: 54.61 kB / 0.625 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.007138, allocations: 3.938 kB / 0.625 GB, free: 7.227 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/0.007277, allocations: 176.4 kB / 0.6251 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.007279, allocations: 0 / 0.6251 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of matching and sorting (n=7): time 0.0002518/0.00753, allocations: 218.9 kB / 0.6253 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.105e-05/0.007591, allocations: 140.4 kB / 0.6255 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.007714, allocations: 183.4 kB / 0.6256 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.007727, allocations: 33.7 kB / 0.6257 GB, free: 6.391 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.007787, allocations: 135.7 kB / 0.6258 GB, free: 6.254 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.007805, allocations: 27.78 kB / 0.6258 GB, free: 6.227 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.007847, allocations: 37.7 kB / 0.6259 GB, free: 6.184 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.00795, allocations: 322.8 kB / 0.6262 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.066e-05/0.00802, allocations: 95.39 kB / 0.6263 GB, free: 5.754 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.935e-05/0.00811, allocations: 168.8 kB / 0.6264 GB, free: 5.543 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.008254, allocations: 234.3 kB / 0.6267 GB, free: 5.262 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.008256, allocations: 4 kB / 0.6267 GB, free: 5.258 MB / 0.5886 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002889/0.008545, allocations: 304.1 kB / 0.6269 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.008575, allocations: 67.33 kB / 0.627 GB, free: 4.852 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.00858, allocations: 0 / 0.627 GB, free: 4.852 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.008592, allocations: 4 kB / 0.627 GB, free: 4.848 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.978e-05/0.008661, allocations: 36.23 kB / 0.627 GB, free: 4.812 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.008668, allocations: 11.94 kB / 0.6271 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.008737, allocations: 23.88 kB / 0.6271 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.008746, allocations: 4 kB / 0.6271 GB, free: 4.773 MB / 0.5886 GB 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 8.37e-05/0.00883, allocations: 172.6 kB / 0.6273 GB, free: 4.594 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.008845, allocations: 19.91 kB / 0.6273 GB, free: 4.574 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.955e-05/0.008864, allocations: 13.47 kB / 0.6273 GB, free: 4.562 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.008866, allocations: 0 / 0.6273 GB, free: 4.562 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.00887, allocations: 3.938 kB / 0.6273 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.008873, allocations: 11.92 kB / 0.6273 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.392e-05/0.008957, allocations: 145.3 kB / 0.6274 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.008957, allocations: 0 / 0.6274 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.008997, allocations: 11.94 kB / 0.6274 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.008998, allocations: 0 / 0.6274 GB, free: 4.363 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.009008, allocations: 7.984 kB / 0.6275 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.009009, allocations: 0 / 0.6275 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.009009, allocations: 0 / 0.6275 GB, free: 4.355 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.009254, allocations: 278 kB / 0.6277 GB, free: 4.047 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.539e-05/0.00927, allocations: 11.94 kB / 0.6277 GB, free: 4.035 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.009288, allocations: 12.05 kB / 0.6277 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.919e-05/0.009327, allocations: 8 kB / 0.6278 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.009372, allocations: 16.02 kB / 0.6278 GB, free: 4 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.009376, allocations: 0 / 0.6278 GB, free: 4 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 7.111e-05/0.009447, allocations: 136.8 kB / 0.6279 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.009447, allocations: 0 / 0.6279 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001519/0.009599, allocations: 32 kB / 0.6279 GB, free: 3.836 MB / 0.5886 GB 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.733e-05/0.009667, allocations: 103.2 kB / 0.628 GB, free: 3.723 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002142/0.009881, allocations: 303.8 kB / 0.6283 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.009882, allocations: 7.875 kB / 0.6283 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.01008, allocations: 117.1 kB / 0.6284 GB, free: 3.242 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.01023, allocations: 16 kB / 0.6285 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.01063, allocations: 342 kB / 0.6288 GB, free: 2.855 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.013e-05/0.01069, allocations: 106.3 kB / 0.6289 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.01072, allocations: 12.5 kB / 0.6289 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of SimCode: time 6.11e-07/0.01072, allocations: 0 / 0.6289 GB, free: 2.715 MB / 0.5886 GB Notification: Performance of Templates: time 0.002145/0.01287, allocations: 1.782 MB / 0.6306 GB, free: 0.9453 MB / 0.5886 GB " [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=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2776686595752835] Failed to read output from testmodel.py, exit status != 0: 0.017781325615942478 0.02586301099999994 0.019162865 Calling exit ...