Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.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.001354/0.001354, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001401/0.001401, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.495/1.495, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.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.129/1.129, allocations: 177.9 MB / 484.2 MB, free: 5.355 MB / 382.1 MB " [Timeout remaining time 178] 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.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor") translateModel(IDEAS.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 68.2 kB / 0.674 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5586/0.5607, allocations: 95.17 MB / 0.7669 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Loads.Examples.Resistor): time 0.005567/0.5663, allocations: 3.971 MB / 0.7708 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002887/0.5692, allocations: 1.782 MB / 0.7725 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.5694, allocations: 11.56 kB / 0.7725 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.5709, allocations: 0.5098 MB / 0.773 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005066/0.5714, allocations: 224.6 kB / 0.7732 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.5719, allocations: 204.7 kB / 0.7734 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005211/0.5725, allocations: 479.3 kB / 0.7739 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004929/0.573, allocations: 257.3 kB / 0.7741 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002579/0.5732, allocations: 206 kB / 0.7743 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003984/0.5736, allocations: 225.7 kB / 0.7746 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.503e-05/0.5737, allocations: 27.66 kB / 0.7746 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000551/0.5742, allocations: 256.1 kB / 0.7748 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001702/0.5744, allocations: 128.6 kB / 0.7749 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002205/0.5746, allocations: 173.8 kB / 0.7751 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008777/0.5755, allocations: 0.4973 MB / 0.7756 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.5755, allocations: 5.344 kB / 0.7756 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.645e-06/0.5755, allocations: 0.6562 kB / 0.7756 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.427e-06/0.5755, allocations: 0 / 0.7756 GB, free: 2.988 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001147/0.5767, allocations: 0.5681 MB / 0.7762 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.5767, allocations: 9.969 kB / 0.7762 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/0.5777, allocations: 141.7 kB / 0.7763 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004392/0.5782, allocations: 238 kB / 0.7765 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.5782, allocations: 19.94 kB / 0.7766 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.5782, allocations: 30.88 kB / 0.7766 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007588/0.579, allocations: 465.9 kB / 0.777 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.579, allocations: 1.438 kB / 0.777 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/0.5791, allocations: 15.08 kB / 0.777 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.474e-05/0.5791, allocations: 30.98 kB / 0.7771 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004783/0.5796, allocations: 323.9 kB / 0.7774 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.5815, allocations: 2.149 MB / 0.7795 GB, free: 36 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000375/0.5819, allocations: 163.3 kB / 0.7796 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002519/0.5821, allocations: 103.3 kB / 0.7797 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.5821, allocations: 1.25 kB / 0.7797 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.5822, allocations: 36.64 kB / 0.7798 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.5822, allocations: 0 / 0.7798 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.00061/0.5828, allocations: 221 kB / 0.78 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.5828, allocations: 55.95 kB / 0.78 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.5831, allocations: 270.8 kB / 0.7803 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.5832, allocations: 25.7 kB / 0.7803 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.5833, allocations: 210.2 kB / 0.7805 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.5834, allocations: 58.36 kB / 0.7806 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.825e-05/0.5835, allocations: 51.28 kB / 0.7806 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.5837, allocations: 334.7 kB / 0.7809 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.5838, allocations: 56.17 kB / 0.781 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.5839, allocations: 148.1 kB / 0.7811 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.5842, allocations: 221.6 kB / 0.7813 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5842, allocations: 2.875 kB / 0.7813 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000464/0.5847, allocations: 265.4 kB / 0.7816 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.5847, allocations: 7.906 kB / 0.7816 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.5847, allocations: 2.562 kB / 0.7816 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.5849, allocations: 30.8 kB / 0.7816 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.5851, allocations: 51.14 kB / 0.7817 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/0.5864, allocations: 1.314 MB / 0.783 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.5866, allocations: 29.06 kB / 0.783 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.5866, allocations: 7.188 kB / 0.783 GB, free: 13.16 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001982/0.5868, allocations: 171.6 kB / 0.7832 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.5868, allocations: 22.92 kB / 0.7832 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.712e-05/0.5869, allocations: 33.11 kB / 0.7832 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.5869, allocations: 4.688 kB / 0.7832 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5869, allocations: 0 / 0.7832 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5869, allocations: 4.312 kB / 0.7832 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.5879, allocations: 0.6757 MB / 0.7839 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.5879, allocations: 5.344 kB / 0.7839 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.761e-05/0.588, allocations: 21.95 kB / 0.7839 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.295e-05/0.5881, allocations: 28.25 kB / 0.7839 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.5881, allocations: 7.875 kB / 0.784 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.5894, allocations: 1.314 MB / 0.7852 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.5894, allocations: 3.938 kB / 0.7852 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/0.5898, allocations: 315.3 kB / 0.7855 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.5899, allocations: 44.48 kB / 0.7856 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.5899, allocations: 0.7969 kB / 0.7856 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.5901, allocations: 12.56 kB / 0.7856 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.5901, allocations: 19.14 kB / 0.7856 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.5901, allocations: 8.969 kB / 0.7856 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002485/0.5904, allocations: 190.2 kB / 0.7858 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5904, allocations: 4 kB / 0.7858 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004447/0.5908, allocations: 79.66 kB / 0.7859 GB, free: 10.72 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001505/0.591, allocations: 104.2 kB / 0.786 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005376/0.5915, allocations: 260.4 kB / 0.7862 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5915, allocations: 6.938 kB / 0.7862 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.5918, allocations: 173.8 kB / 0.7864 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.5923, allocations: 67.42 kB / 0.7865 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.5933, allocations: 0.5495 MB / 0.787 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000502/0.5938, allocations: 0.7915 MB / 0.7878 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001608/0.594, allocations: 39.77 kB / 0.7878 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.594, allocations: 21.06 kB / 0.7878 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.594, allocations: 0 / 0.7878 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of Templates: time 0.007747/0.6018, allocations: 2.856 MB / 0.7906 GB, free: 9.008 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.40653576888144] Failed to read output from testmodel.py, exit status != 0: 0.610937187448144 0.6284621659999999 0.04941174899999994 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7feb38cc17b0>