Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.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.00153/0.00153, allocations: 112.1 kB / 17.13 MB, free: 5.914 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.001582/0.001582, allocations: 190.8 kB / 20.08 MB, free: 2.977 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.408/1.408, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.07/1.07, allocations: 177.8 MB / 481.2 MB, free: 1.418 MB / 366.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.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 67.27 kB / 0.6694 GB, free: 9.145 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1985, allocations: 95.08 MB / 0.7623 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003944/0.2024, allocations: 2.315 MB / 0.7645 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.2038, allocations: 0.7986 MB / 0.7653 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.459e-05/0.2039, allocations: 4 kB / 0.7653 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.2045, allocations: 147.3 kB / 0.7655 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.2047, allocations: 63.61 kB / 0.7655 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.2049, allocations: 55.88 kB / 0.7656 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002553/0.2051, allocations: 159.5 kB / 0.7657 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002442/0.2053, allocations: 77.06 kB / 0.7658 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.2055, allocations: 71.7 kB / 0.7659 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.2056, allocations: 71.67 kB / 0.7659 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.308e-05/0.2057, allocations: 12 kB / 0.7659 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.2058, allocations: 51.91 kB / 0.766 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.237e-05/0.2058, allocations: 43.81 kB / 0.766 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.18e-05/0.2059, allocations: 63.67 kB / 0.7661 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.2062, allocations: 175.3 kB / 0.7663 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2062, allocations: 0 / 0.7663 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2062, allocations: 0 / 0.7663 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.2062, allocations: 0 / 0.7663 GB, free: 9.574 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008043/0.207, allocations: 0.4905 MB / 0.7667 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.2071, allocations: 8.031 kB / 0.7668 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000206/0.2073, allocations: 28.83 kB / 0.7668 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.2076, allocations: 212.1 kB / 0.767 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.634e-05/0.2076, allocations: 34.45 kB / 0.767 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.635e-05/0.2077, allocations: 16.12 kB / 0.767 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.208, allocations: 152 kB / 0.7672 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.208, allocations: 4 kB / 0.7672 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.208, allocations: 4 kB / 0.7672 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.208, allocations: 4 kB / 0.7672 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.2083, allocations: 87.89 kB / 0.7673 GB, free: 8.426 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.2093, allocations: 0.6442 MB / 0.7679 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.2095, allocations: 54.55 kB / 0.768 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.477e-05/0.2096, allocations: 28.91 kB / 0.768 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.2096, allocations: 0 / 0.768 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.2098, allocations: 134.8 kB / 0.7681 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.2098, allocations: 4 kB / 0.7681 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0003957/0.2102, allocations: 171.3 kB / 0.7683 GB, free: 7.281 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.604e-05/0.2103, allocations: 140.5 kB / 0.7684 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.2105, allocations: 178.3 kB / 0.7686 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.2105, allocations: 29.7 kB / 0.7686 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.2106, allocations: 140 kB / 0.7687 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.2107, allocations: 27.78 kB / 0.7688 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.2107, allocations: 37.7 kB / 0.7688 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2109, allocations: 322.8 kB / 0.7691 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.616e-05/0.211, allocations: 43.92 kB / 0.7692 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.2111, allocations: 119.4 kB / 0.7693 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.2114, allocations: 230.4 kB / 0.7695 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2114, allocations: 4 kB / 0.7695 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000385/0.2118, allocations: 236.7 kB / 0.7697 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.16e-05/0.2119, allocations: 63.41 kB / 0.7698 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2119, allocations: 8.25 kB / 0.7698 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.2119, allocations: 8.312 kB / 0.7698 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.212, allocations: 27.92 kB / 0.7698 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.2121, allocations: 7.984 kB / 0.7698 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.2122, allocations: 23.89 kB / 0.7699 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.2122, allocations: 11.98 kB / 0.7699 GB, free: 5.469 MB / 0.5762 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.0001638/0.2124, allocations: 171.4 kB / 0.77 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.2124, allocations: 11.91 kB / 0.77 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.2124, allocations: 25.33 kB / 0.7701 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.2124, allocations: 4.031 kB / 0.7701 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2125, allocations: 4 kB / 0.7701 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2125, allocations: 0 / 0.7701 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/0.2127, allocations: 213.6 kB / 0.7703 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2127, allocations: 0 / 0.7703 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.161e-05/0.2128, allocations: 8 kB / 0.7703 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2128, allocations: 0 / 0.7703 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.2128, allocations: 11.92 kB / 0.7703 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2128, allocations: 0 / 0.7703 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2128, allocations: 0 / 0.7703 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004089/0.2132, allocations: 218.6 kB / 0.7705 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.83e-05/0.2133, allocations: 89.05 kB / 0.7706 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.2133, allocations: 15.88 kB / 0.7706 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.615e-05/0.2134, allocations: 7.984 kB / 0.7706 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.2135, allocations: 4 kB / 0.7706 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.2135, allocations: 15.92 kB / 0.7706 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001167/0.2136, allocations: 129.2 kB / 0.7708 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2136, allocations: 0 / 0.7708 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002611/0.2139, allocations: 32 kB / 0.7708 GB, free: 4.418 MB / 0.5762 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.000121/0.214, allocations: 100 kB / 0.7709 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003665/0.2143, allocations: 211.2 kB / 0.7711 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.2143, allocations: 0 / 0.7711 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.2145, allocations: 87.39 kB / 0.7712 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.2147, allocations: 26.27 kB / 0.7712 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007268/0.2154, allocations: 327.6 kB / 0.7715 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.2158, allocations: 0.7197 MB / 0.7722 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.869e-05/0.2159, allocations: 11.44 kB / 0.7722 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of SimCode: time 4.21e-07/0.2159, allocations: 4 kB / 0.7722 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of Templates: time 0.00405/0.2199, allocations: 1.703 MB / 0.7739 GB, free: 1.152 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.458424690004904] Failed to read output from testmodel.py, exit status != 0: 0.22809787699952722 0.241389664 0.032290543000000005 Calling exit ...