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.001555/0.001555, allocations: 80.28 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001635/0.001635, allocations: 166.9 kB / 22.46 MB, free: 5.355 MB / 14.72 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.448/1.448, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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 1.211/1.211, allocations: 154.6 MB / 413.8 MB, free: 5.242 MB / 382.1 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 178] 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.232e-06/1.232e-06, allocations: 0 / 0.6185 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.158e-05, allocations: 4.812 kB / 0.6185 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003662/0.003683, allocations: 2.286 MB / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.00511, allocations: 0.822 MB / 0.6216 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.917e-05/0.005189, allocations: 4 kB / 0.6216 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005612/0.00575, allocations: 143.3 kB / 0.6217 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.005937, allocations: 71.47 kB / 0.6218 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001784/0.006116, allocations: 59.8 kB / 0.6218 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002451/0.006361, allocations: 167.4 kB / 0.622 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.006577, allocations: 85.11 kB / 0.6221 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002006/0.006777, allocations: 103.7 kB / 0.6222 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001518/0.006929, allocations: 51.86 kB / 0.6222 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.006959, allocations: 12 kB / 0.6222 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.007074, allocations: 51.83 kB / 0.6223 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.163e-05/0.007135, allocations: 43.78 kB / 0.6223 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.335e-05/0.007219, allocations: 47.89 kB / 0.6224 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.007484, allocations: 183.4 kB / 0.6226 GB, free: 488 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.007487, allocations: 0 / 0.6226 GB, free: 488 kB / 0.5294 GB Notification: Performance of FrontEnd: time 7.01e-07/0.007488, allocations: 0 / 0.6226 GB, free: 488 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.007491, allocations: 0 / 0.6226 GB, free: 488 kB / 0.5294 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.0006906/0.008182, allocations: 433.2 kB / 0.623 GB, free: 12 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.008214, allocations: 11.97 kB / 0.623 GB, free: 0 / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003207/0.008535, allocations: 40.23 kB / 0.623 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/0.008772, allocations: 154.2 kB / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.332e-05/0.008845, allocations: 60.16 kB / 0.6232 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.931e-05/0.008875, allocations: 12.94 kB / 0.6232 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.009196, allocations: 177.8 kB / 0.6234 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.009207, allocations: 0 / 0.6234 GB, free: 15.51 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.619e-05/0.009233, allocations: 7.984 kB / 0.6234 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.009253, allocations: 12 kB / 0.6234 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.009485, allocations: 114.3 kB / 0.6235 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000855/0.01034, allocations: 0.5622 MB / 0.6241 GB, free: 14.76 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002563/0.0106, allocations: 76.27 kB / 0.6242 GB, free: 14.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.666e-05/0.01069, allocations: 54.61 kB / 0.6242 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.01071, allocations: 4 kB / 0.6242 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002302/0.01094, allocations: 172.5 kB / 0.6244 GB, free: 14.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.01094, allocations: 3.938 kB / 0.6244 GB, free: 14.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0004327/0.01137, allocations: 222.7 kB / 0.6246 GB, free: 14.16 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.01148, allocations: 128.5 kB / 0.6247 GB, free: 14 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.01167, allocations: 198.8 kB / 0.6249 GB, free: 13.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.01169, allocations: 29.64 kB / 0.6249 GB, free: 13.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.01185, allocations: 147.7 kB / 0.6251 GB, free: 13.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.01188, allocations: 15.86 kB / 0.6251 GB, free: 13.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/0.01195, allocations: 41.7 kB / 0.6251 GB, free: 13.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.0121, allocations: 326.8 kB / 0.6254 GB, free: 13.23 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.01223, allocations: 95.38 kB / 0.6255 GB, free: 13.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.01241, allocations: 170.6 kB / 0.6257 GB, free: 12.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002782/0.01268, allocations: 234.3 kB / 0.6259 GB, free: 12.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01269, allocations: 0 / 0.6259 GB, free: 12.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004262/0.01311, allocations: 304.1 kB / 0.6262 GB, free: 12.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.997e-05/0.01316, allocations: 59.72 kB / 0.6263 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.01317, allocations: 8 kB / 0.6263 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.01319, allocations: 4 kB / 0.6263 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.01331, allocations: 31.92 kB / 0.6263 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.01332, allocations: 4 kB / 0.6263 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.01346, allocations: 31.77 kB / 0.6263 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.01348, allocations: 12 kB / 0.6263 GB, free: 12.14 MB / 0.545 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 0.0001452/0.01363, allocations: 169.3 kB / 0.6265 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.01366, allocations: 15.98 kB / 0.6265 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.01369, allocations: 17.45 kB / 0.6265 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.01369, allocations: 4 kB / 0.6265 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01369, allocations: 0 / 0.6265 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01369, allocations: 3.938 kB / 0.6265 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.01384, allocations: 141.3 kB / 0.6267 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01384, allocations: 4 kB / 0.6267 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.84e-05/0.01393, allocations: 11.98 kB / 0.6267 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01393, allocations: 0 / 0.6267 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.01394, allocations: 0 / 0.6267 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.01395, allocations: 4 kB / 0.6267 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.01395, allocations: 4 kB / 0.6267 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004682/0.01441, allocations: 294 kB / 0.627 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.406e-05/0.01444, allocations: 11.94 kB / 0.627 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.01447, allocations: 0 / 0.627 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.86e-05/0.01456, allocations: 15.92 kB / 0.627 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.01462, allocations: 8 kB / 0.627 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.01463, allocations: 7.984 kB / 0.627 GB, free: 11.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001185/0.01475, allocations: 132.3 kB / 0.6272 GB, free: 11.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01475, allocations: 0 / 0.6272 GB, free: 11.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002561/0.015, allocations: 40 kB / 0.6272 GB, free: 11.2 MB / 0.545 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 0.0001006/0.01511, allocations: 101.8 kB / 0.6273 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004077/0.01551, allocations: 295.7 kB / 0.6276 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01551, allocations: 0 / 0.6276 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.01567, allocations: 125 kB / 0.6277 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.01589, allocations: 22.73 kB / 0.6277 GB, free: 10.6 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005871/0.01648, allocations: 315.7 kB / 0.628 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.985e-05/0.01658, allocations: 102.3 kB / 0.6281 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.041e-05/0.01665, allocations: 20.62 kB / 0.6281 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.01669, allocations: 16.5 kB / 0.6281 GB, free: 10.1 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.01669, allocations: 0 / 0.6281 GB, free: 10.1 MB / 0.545 GB Notification: Performance of Templates: time 0.004705/0.0214, allocations: 1.464 MB / 0.6296 GB, free: 8.68 MB / 0.545 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.651112079620361] Failed to read output from testmodel.py, exit status != 0: 0.02935025840997696 0.043976724 0.03345469 Calling exit ...