Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.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.001939/0.001939, allocations: 105.4 kB / 16.45 MB, free: 6.035 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.002481/0.002481, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.473/1.473, allocations: 225.6 MB / 247.8 MB, free: 13.93 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 1.07/1.07, allocations: 175.8 MB / 478.4 MB, free: 8.473 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: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 60.31 kB / 0.6652 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2031, allocations: 94.54 MB / 0.7575 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.4032/0.6063, allocations: 14.23 MB / 0.7714 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01503/0.6213, allocations: 9.502 MB / 0.7807 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002282/0.6236, allocations: 59.72 kB / 0.7807 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00556/0.6292, allocations: 1.687 MB / 0.7824 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006184/0.6354, allocations: 1.581 MB / 0.7839 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002465/0.6378, allocations: 0.7605 MB / 0.7847 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004272/0.6421, allocations: 2.518 MB / 0.7871 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.6439, allocations: 1.134 MB / 0.7882 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.6459, allocations: 1.074 MB / 0.7893 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.6482, allocations: 1.204 MB / 0.7905 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000439/0.6486, allocations: 164.8 kB / 0.7906 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002322/0.651, allocations: 0.8036 MB / 0.7914 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008141/0.6518, allocations: 0.6248 MB / 0.792 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.6531, allocations: 0.9539 MB / 0.793 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00449/0.6575, allocations: 2.773 MB / 0.7957 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.6576, allocations: 4.609 kB / 0.7957 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6576, allocations: 0 / 0.7957 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.032e-05/0.6576, allocations: 0 / 0.7957 GB, free: 4.027 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005422/0.663, allocations: 2.189 MB / 0.7978 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.6631, allocations: 9.141 kB / 0.7978 GB, free: 2.66 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003403/0.6634, allocations: 193.7 kB / 0.798 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.6747, allocations: 2.096 MB / 0.8 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003588/0.6783, allocations: 1.304 MB / 0.8013 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.124e-05/0.6784, allocations: 93.48 kB / 0.8014 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000324/0.6787, allocations: 124.9 kB / 0.8015 GB, free: 0.918 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006282/0.685, allocations: 2.677 MB / 0.8041 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.373e-05/0.685, allocations: 2.594 kB / 0.8041 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001888/0.6852, allocations: 54.81 kB / 0.8042 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006038/0.6858, allocations: 179.4 kB / 0.8044 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007757/0.6936, allocations: 2.801 MB / 0.8071 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01873/0.7123, allocations: 10.48 MB / 0.8173 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00667/0.719, allocations: 2.455 MB / 0.8197 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/0.7221, allocations: 1.208 MB / 0.8209 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.224e-05/0.7221, allocations: 9.75 kB / 0.8209 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.759e-05/0.7222, allocations: 51.58 kB / 0.821 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=89): time 3.597e-06/0.7222, allocations: 1.406 kB / 0.821 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=131): time 0.04617/0.7684, allocations: 13.34 MB / 0.834 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.7684, allocations: 68.72 kB / 0.8341 GB, free: 9 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.7701, allocations: 1.109 MB / 0.8351 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001882/0.7703, allocations: 45.7 kB / 0.8352 GB, free: 7.824 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006177/0.7709, allocations: 0.7364 MB / 0.8359 GB, free: 7.082 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000511/0.7714, allocations: 471.9 kB / 0.8364 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005272/0.7719, allocations: 263.5 kB / 0.8366 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.7721, allocations: 365.9 kB / 0.837 GB, free: 5.988 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00335/0.7755, allocations: 1.335 MB / 0.8383 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003678/0.7791, allocations: 1.612 MB / 0.8398 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007016/0.7862, allocations: 2.991 MB / 0.8428 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/0.7862, allocations: 4 kB / 0.8428 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01206/0.7982, allocations: 4.404 MB / 0.8471 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.7983, allocations: 8 kB / 0.8471 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.7983, allocations: 8.875 kB / 0.8471 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005474/0.8038, allocations: 1.427 MB / 0.8485 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002252/0.806, allocations: 435.2 kB / 0.8489 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03107/0.8371, allocations: 26.7 MB / 0.875 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/0.8399, allocations: 307.5 kB / 0.8753 GB, free: 12.68 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001789/0.8401, allocations: 61.36 kB / 0.8753 GB, free: 12.62 MB / 0.67 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009484/0.841, allocations: 441 kB / 0.8757 GB, free: 12.18 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003695/0.8414, allocations: 171 kB / 0.8759 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/0.8529, allocations: 4.402 MB / 0.8802 GB, free: 7.555 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.8529, allocations: 12 kB / 0.8802 GB, free: 7.543 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-05/0.8529, allocations: 16 kB / 0.8802 GB, free: 7.527 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-05/0.853, allocations: 7.969 kB / 0.8802 GB, free: 7.52 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01638/0.8693, allocations: 6.728 MB / 0.8868 GB, free: 0.625 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/0.8694, allocations: 4 kB / 0.8868 GB, free: 0.6211 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/0.8711, allocations: 383.7 kB / 0.8872 GB, free: 252 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004796/0.8759, allocations: 1.307 MB / 0.8885 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002331/0.8761, allocations: 43.95 kB / 0.8885 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02859/0.9047, allocations: 25.5 MB / 0.9134 GB, free: 3.539 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.9047, allocations: 3.938 kB / 0.9134 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/0.9161, allocations: 4.168 MB / 0.9175 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/0.9176, allocations: 467.9 kB / 0.9179 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000423/0.918, allocations: 27.94 kB / 0.9179 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002166/0.9202, allocations: 307.5 kB / 0.9182 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004963/0.9207, allocations: 132.6 kB / 0.9184 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/0.9208, allocations: 51.95 kB / 0.9184 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001219/0.9221, allocations: 0.7487 MB / 0.9191 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9221, allocations: 0 / 0.9191 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002343/0.9244, allocations: 0.5703 MB / 0.9197 GB, free: 12.96 MB / 0.7169 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01135/0.9357, allocations: 4.751 MB / 0.9243 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01119/0.9469, allocations: 4.974 MB / 0.9292 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/0.947, allocations: 0 / 0.9292 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007729/0.9547, allocations: 3.421 MB / 0.9325 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/0.9573, allocations: 0.5416 MB / 0.9331 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04461/1.002, allocations: 19.32 MB / 0.9519 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/1.003, allocations: 1.477 MB / 0.9534 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001661/1.005, allocations: 425.6 kB / 0.9538 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009806/1.006, allocations: 0.6281 MB / 0.9544 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of SimCode: time 9.52e-07/1.006, allocations: 0 / 0.9544 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1388/1.145, allocations: 51.96 MB / 1.005 GB, free: 5.18 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.16/20.31, allocations: 11.53 kB / 1.005 GB, free: 5.172 MB / 0.795 GB " [Timeout remaining time 640] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 24.32226582802832] Failed to read output from testmodel.py, exit status != 0: 20.425562266260386 20.450750308 19.788293106 Calling exit ...