Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001744/0.001744, 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.002241/0.002241, allocations: 189.9 kB / 22.22 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.839/1.839, allocations: 225.6 MB / 251 MB, free: 13.02 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.229/1.229, allocations: 177.9 MB / 484.2 MB, free: 5.363 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.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00325/0.00325, allocations: 69.22 kB / 0.674 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8065/0.8098, allocations: 95.17 MB / 0.7669 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01407/0.8239, allocations: 11.29 MB / 0.778 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01674/0.8406, allocations: 9.109 MB / 0.7869 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/0.8427, allocations: 82.16 kB / 0.7869 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005079/0.8478, allocations: 1.734 MB / 0.7886 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006088/0.8539, allocations: 1.571 MB / 0.7902 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.8564, allocations: 0.6869 MB / 0.7908 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004232/0.8606, allocations: 2.288 MB / 0.7931 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.8624, allocations: 0.9648 MB / 0.794 GB, free: 6.543 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00248/0.8649, allocations: 1.024 MB / 0.795 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002825/0.8677, allocations: 1.072 MB / 0.7961 GB, free: 5.656 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0004444/0.8682, allocations: 142.2 kB / 0.7962 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002809/0.871, allocations: 0.8132 MB / 0.797 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009955/0.872, allocations: 0.5817 MB / 0.7976 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00162/0.8736, allocations: 0.8879 MB / 0.7984 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005891/0.8795, allocations: 2.581 MB / 0.8009 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/0.8795, allocations: 0.9375 kB / 0.8009 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.236e-06/0.8795, allocations: 0 / 0.8009 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.824e-05/0.8796, allocations: 0 / 0.8009 GB, free: 3.684 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.005878/0.8855, allocations: 2.001 MB / 0.8029 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.008e-05/0.8855, allocations: 13.81 kB / 0.8029 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/0.8979, allocations: 2.06 MB / 0.8049 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003985/0.9019, allocations: 1.139 MB / 0.806 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.902, allocations: 92.59 kB / 0.8061 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003553/0.9024, allocations: 119.9 kB / 0.8062 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006765/0.9092, allocations: 2.475 MB / 0.8087 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.335e-05/0.9092, allocations: 8.047 kB / 0.8087 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/0.9094, allocations: 53.83 kB / 0.8087 GB, free: 15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004309/0.9099, allocations: 130.7 kB / 0.8088 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008299/0.9182, allocations: 2.546 MB / 0.8113 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01764/0.9358, allocations: 9.916 MB / 0.821 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006735/0.9425, allocations: 1.846 MB / 0.8228 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003114/0.9457, allocations: 0.9456 MB / 0.8237 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.409e-05/0.9457, allocations: 9.969 kB / 0.8237 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/0.9458, allocations: 42.77 kB / 0.8238 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=53): time 2.726e-06/0.9458, allocations: 0 / 0.8238 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=81): time 0.03515/0.9809, allocations: 8.638 MB / 0.8322 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.297e-05/0.981, allocations: 60.06 kB / 0.8323 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002045/0.983, allocations: 1.105 MB / 0.8334 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001649/0.9832, allocations: 37.64 kB / 0.8334 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007136/0.9839, allocations: 0.759 MB / 0.8341 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003762/0.9843, allocations: 293.5 kB / 0.8344 GB, free: 13 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004358/0.9847, allocations: 202.5 kB / 0.8346 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002177/0.9849, allocations: 345.9 kB / 0.8349 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00321/0.9881, allocations: 1.071 MB / 0.836 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00337/0.9915, allocations: 1.309 MB / 0.8373 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006526/0.998, allocations: 2.378 MB / 0.8396 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.998, allocations: 4 kB / 0.8396 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009776/1.008, allocations: 3.254 MB / 0.8428 GB, free: 4.215 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/1.008, allocations: 10.03 kB / 0.8428 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/1.008, allocations: 8 kB / 0.8428 GB, free: 4.199 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003143/1.011, allocations: 0.7873 MB / 0.8435 GB, free: 3.387 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/1.013, allocations: 423.2 kB / 0.844 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01956/1.033, allocations: 15.1 MB / 0.8587 GB, free: 2.945 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002971/1.036, allocations: 287.5 kB / 0.859 GB, free: 2.664 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/1.036, allocations: 52.03 kB / 0.859 GB, free: 2.613 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001121/1.037, allocations: 401.4 kB / 0.8594 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003848/1.037, allocations: 151.1 kB / 0.8595 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009738/1.047, allocations: 3.175 MB / 0.8626 GB, free: 14.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/1.047, allocations: 11.94 kB / 0.8627 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.727e-05/1.047, allocations: 8 kB / 0.8627 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/1.047, allocations: 3.984 kB / 0.8627 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/1.061, allocations: 4.857 MB / 0.8674 GB, free: 9.848 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/1.061, allocations: 7.938 kB / 0.8674 GB, free: 9.84 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/1.062, allocations: 347.4 kB / 0.8678 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002589/1.065, allocations: 0.7016 MB / 0.8684 GB, free: 8.773 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/1.065, allocations: 31.97 kB / 0.8685 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01863/1.084, allocations: 14.72 MB / 0.8828 GB, free: 9.102 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/1.084, allocations: 64 / 0.8828 GB, free: 9.102 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009408/1.093, allocations: 3.024 MB / 0.8858 GB, free: 5.992 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001474/1.095, allocations: 318.8 kB / 0.8861 GB, free: 5.68 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/1.095, allocations: 16 kB / 0.8861 GB, free: 5.664 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/1.097, allocations: 299.4 kB / 0.8864 GB, free: 5.371 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003521/1.097, allocations: 80.44 kB / 0.8865 GB, free: 5.293 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/1.097, allocations: 35.97 kB / 0.8865 GB, free: 5.258 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001371/1.099, allocations: 0.7444 MB / 0.8872 GB, free: 4.512 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/1.099, allocations: 0 / 0.8872 GB, free: 4.512 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002204/1.101, allocations: 439.9 kB / 0.8877 GB, free: 4.082 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003491/1.101, allocations: 119.1 kB / 0.8878 GB, free: 3.957 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009832/1.111, allocations: 3.511 MB / 0.8912 GB, free: 352 kB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/1.111, allocations: 4 kB / 0.8912 GB, free: 348 kB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00582/1.117, allocations: 2.324 MB / 0.8935 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/1.12, allocations: 0.5143 MB / 0.894 GB, free: 13.42 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00931/1.129, allocations: 3.51 MB / 0.8974 GB, free: 9.848 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/1.131, allocations: 1.392 MB / 0.8988 GB, free: 8.426 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001696/1.132, allocations: 375.9 kB / 0.8991 GB, free: 8.055 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003746/1.133, allocations: 107.4 kB / 0.8992 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of SimCode: time 1.543e-06/1.133, allocations: 0 / 0.8992 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of Templates: time 0.0689/1.202, allocations: 31.45 MB / 0.9299 GB, free: 8.906 MB / 0.7169 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.55362126789987] Failed to read output from testmodel.py, exit status != 0: 1.2151792729273438 1.228780137 0.34585188499999997 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fb865c3d7b0>