Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.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.001412/0.001412, allocations: 107.7 kB / 18.89 MB, free: 2.875 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.001514/0.001514, allocations: 199.9 kB / 22.17 MB, free: 5.188 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.336/1.336, allocations: 225.6 MB / 250.9 MB, free: 13.27 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/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 0.998/0.998, allocations: 175.8 MB / 481.9 MB, free: 7.66 MB / 382.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.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") translateModel(IDEAS.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 63.66 kB / 0.6705 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.4775, allocations: 94.52 MB / 0.7628 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.DC.Lines.Examples.Resistance): time 0.004416/0.4819, allocations: 3.169 MB / 0.7659 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002012/0.4839, allocations: 1.378 MB / 0.7672 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.4841, allocations: 4.875 kB / 0.7672 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009578/0.485, allocations: 348.8 kB / 0.7676 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.4854, allocations: 140.7 kB / 0.7677 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003485/0.4857, allocations: 137.6 kB / 0.7678 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003453/0.4861, allocations: 308.3 kB / 0.7681 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003316/0.4864, allocations: 159.3 kB / 0.7683 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.4865, allocations: 130.1 kB / 0.7684 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.4868, allocations: 143.6 kB / 0.7685 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.379e-05/0.4869, allocations: 18.53 kB / 0.7686 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/0.4871, allocations: 177.2 kB / 0.7687 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.575e-05/0.4872, allocations: 76.14 kB / 0.7688 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.4873, allocations: 114.8 kB / 0.7689 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.4877, allocations: 341.7 kB / 0.7692 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4877, allocations: 1.188 kB / 0.7692 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4877, allocations: 0 / 0.7692 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.4877, allocations: 3.938 kB / 0.7692 GB, free: 6.527 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007282/0.4884, allocations: 0.5197 MB / 0.7697 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.4885, allocations: 11.31 kB / 0.7698 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005374/0.489, allocations: 84.11 kB / 0.7698 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.4893, allocations: 255.9 kB / 0.7701 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.4893, allocations: 12.34 kB / 0.7701 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.4893, allocations: 17.38 kB / 0.7701 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003939/0.4897, allocations: 297.8 kB / 0.7704 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.4897, allocations: 3.938 kB / 0.7704 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.4898, allocations: 11.77 kB / 0.7704 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.573e-05/0.4898, allocations: 15.97 kB / 0.7704 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.4901, allocations: 199.9 kB / 0.7706 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.4912, allocations: 1.455 MB / 0.772 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.4915, allocations: 174.7 kB / 0.7722 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.4915, allocations: 31.27 kB / 0.7722 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.4915, allocations: 1.469 kB / 0.7722 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.4915, allocations: 39.5 kB / 0.7723 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.4915, allocations: 0 / 0.7723 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0004248/0.492, allocations: 227.4 kB / 0.7725 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.785e-05/0.492, allocations: 57.12 kB / 0.7725 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.4922, allocations: 193.8 kB / 0.7727 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.4922, allocations: 26.58 kB / 0.7728 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.4922, allocations: 167.1 kB / 0.7729 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.4922, allocations: 25.86 kB / 0.7729 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.4923, allocations: 44.73 kB / 0.773 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.975e-05/0.4923, allocations: 326.3 kB / 0.7733 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.018e-05/0.4924, allocations: 39.11 kB / 0.7733 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.571e-05/0.4925, allocations: 104.4 kB / 0.7734 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.4926, allocations: 144 kB / 0.7736 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.4926, allocations: 1.906 kB / 0.7736 GB, free: 2.859 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002712/0.4929, allocations: 194 kB / 0.7738 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.4929, allocations: 6.812 kB / 0.7738 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4929, allocations: 2.688 kB / 0.7738 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001567/0.4931, allocations: 32.83 kB / 0.7738 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.4932, allocations: 27.45 kB / 0.7738 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007303/0.4939, allocations: 1.42 MB / 0.7752 GB, free: 1.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.494, allocations: 13.94 kB / 0.7752 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.4941, allocations: 10.62 kB / 0.7752 GB, free: 1.309 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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 9.882e-05/0.4942, allocations: 154.6 kB / 0.7754 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.4942, allocations: 15.8 kB / 0.7754 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.4942, allocations: 19.48 kB / 0.7754 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4942, allocations: 5.906 kB / 0.7754 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.706e-06/0.4942, allocations: 0 / 0.7754 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4942, allocations: 4.219 kB / 0.7754 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.4946, allocations: 450.7 kB / 0.7759 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4946, allocations: 0 / 0.7759 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.4947, allocations: 6.875 kB / 0.7759 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.776e-05/0.4947, allocations: 24.62 kB / 0.7759 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.4947, allocations: 1.156 kB / 0.7759 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008793/0.4956, allocations: 1.412 MB / 0.7773 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4956, allocations: 0 / 0.7773 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.4959, allocations: 216.4 kB / 0.7775 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.805e-05/0.496, allocations: 101.6 kB / 0.7776 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.496, allocations: 4.75 kB / 0.7776 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.4961, allocations: 3.75 kB / 0.7776 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.4961, allocations: 6.344 kB / 0.7776 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.4961, allocations: 2.312 kB / 0.7776 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001402/0.4963, allocations: 144.2 kB / 0.7777 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5e-08/0.4963, allocations: 0 / 0.7777 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003372/0.4966, allocations: 52.23 kB / 0.7778 GB, free: 14.95 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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.0001211/0.4967, allocations: 104.8 kB / 0.7779 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003758/0.4971, allocations: 218.3 kB / 0.7781 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4971, allocations: 0.6875 kB / 0.7781 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001573/0.4972, allocations: 144.1 kB / 0.7782 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.4976, allocations: 36.3 kB / 0.7783 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006639/0.4983, allocations: 405 kB / 0.7786 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.4987, allocations: 0.7448 MB / 0.7794 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.4987, allocations: 15.56 kB / 0.7794 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.4987, allocations: 0 / 0.7794 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of Templates: time 0.005331/0.504, allocations: 2.998 MB / 0.7823 GB, free: 13.35 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.sim & ./IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.DC.Lines.Examples.Resistance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.241702720988542] Failed to read output from testmodel.py, exit status != 0: 0.5121375750750303 0.525709875 0.034978646 Calling exit ...