Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001477/0.001477, allocations: 106.9 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.001603/0.001603, 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.425/1.425, 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.067/1.067, allocations: 175.8 MB / 478.5 MB, free: 8.469 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 65.77 kB / 0.6652 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1913, allocations: 94.54 MB / 0.7575 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.4073/0.5986, allocations: 33.82 MB / 0.7906 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0285/0.6271, allocations: 14.96 MB / 0.8052 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00524/0.6324, allocations: 156.5 kB / 0.8053 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01097/0.6433, allocations: 3.706 MB / 0.809 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.009387/0.6527, allocations: 2.996 MB / 0.8119 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006872/0.6596, allocations: 2.332 MB / 0.8142 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01294/0.6725, allocations: 8.814 MB / 0.8228 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01324/0.6858, allocations: 7.22 MB / 0.8298 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008574/0.6943, allocations: 4.02 MB / 0.8337 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009478/0.7038, allocations: 4.259 MB / 0.8379 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.004052/0.7079, allocations: 0.7188 MB / 0.8386 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007505/0.7154, allocations: 1.751 MB / 0.8403 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005005/0.7204, allocations: 2.899 MB / 0.8431 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007049/0.7274, allocations: 3.392 MB / 0.8465 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01545/0.7429, allocations: 11.22 MB / 0.8574 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.7429, allocations: 0 / 0.8574 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7429, allocations: 0 / 0.8574 GB, free: 2.059 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003044/0.7432, allocations: 3.938 kB / 0.8574 GB, free: 2.055 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01656/0.7598, allocations: 6.132 MB / 0.8634 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.7598, allocations: 8.031 kB / 0.8634 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00211/0.7619, allocations: 0.7271 MB / 0.8641 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00811/0.77, allocations: 1.169 MB / 0.8653 GB, free: 9.914 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009472/0.7795, allocations: 3.542 MB / 0.8687 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003285/0.7798, allocations: 374.3 kB / 0.8691 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00146/0.7813, allocations: 499.9 kB / 0.8696 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01767/0.7989, allocations: 8.005 MB / 0.8774 GB, free: 13.16 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001583/0.7991, allocations: 23.78 kB / 0.8774 GB, free: 13.13 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007378/0.7998, allocations: 216 kB / 0.8776 GB, free: 12.92 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001049/0.8009, allocations: 441.5 kB / 0.878 GB, free: 12.49 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/0.8128, allocations: 6.081 MB / 0.884 GB, free: 6.395 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04493/0.8578, allocations: 34.96 MB / 0.9181 GB, free: 292 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003038/0.8608, allocations: 1.91 MB / 0.92 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00263/0.8634, allocations: 1.756 MB / 0.9217 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.8635, allocations: 18 kB / 0.9217 GB, free: 12.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/0.8636, allocations: 60.5 kB / 0.9218 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=171): time 3.287e-06/0.8636, allocations: 0 / 0.9218 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of matching and sorting (n=276): time 0.148/1.012, allocations: 38.85 MB / 0.9597 GB, free: 5.582 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.543e-05/1.012, allocations: 81.58 kB / 0.9598 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003633/1.015, allocations: 2.282 MB / 0.962 GB, free: 3.191 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0004721/1.016, allocations: 77.7 kB / 0.9621 GB, free: 3.109 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001796/1.018, allocations: 2.338 MB / 0.9644 GB, free: 0.75 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001239/1.019, allocations: 0.9762 MB / 0.9653 GB, free: 15.76 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/1.02, allocations: 0.5025 MB / 0.9658 GB, free: 15.25 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.02, allocations: 308.9 kB / 0.9661 GB, free: 14.95 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003194/1.023, allocations: 1.973 MB / 0.968 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00425/1.027, allocations: 2.606 MB / 0.9706 GB, free: 10.12 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007666/1.035, allocations: 4.929 MB / 0.9754 GB, free: 4.922 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/1.035, allocations: 4 kB / 0.9754 GB, free: 4.918 MB / 0.7637 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01607/1.051, allocations: 7.65 MB / 0.9829 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.391e-05/1.051, allocations: 12 kB / 0.9829 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/1.051, allocations: 20.88 kB / 0.9829 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00973/1.061, allocations: 3.22 MB / 0.986 GB, free: 9.934 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/1.063, allocations: 395.4 kB / 0.9864 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05056/1.113, allocations: 33.91 MB / 1.02 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/1.116, allocations: 155.8 kB / 1.02 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003916/1.117, allocations: 111.9 kB / 1.02 GB, free: 6.523 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003255/1.12, allocations: 1.797 MB / 1.022 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007118/1.121, allocations: 350.1 kB / 1.022 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01462/1.135, allocations: 7.243 MB / 1.029 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.392e-05/1.135, allocations: 28 kB / 1.029 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-05/1.135, allocations: 32 kB / 1.029 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.598e-05/1.135, allocations: 16.31 kB / 1.029 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02587/1.161, allocations: 12.81 MB / 1.042 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.547e-05/1.161, allocations: 11.98 kB / 1.042 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/1.162, allocations: 227.6 kB / 1.042 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008528/1.171, allocations: 2.862 MB / 1.045 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003342/1.171, allocations: 48 kB / 1.045 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04753/1.219, allocations: 32.68 MB / 1.077 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/1.219, allocations: 11.94 kB / 1.077 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01411/1.233, allocations: 6.786 MB / 1.083 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002354/1.235, allocations: 0.7995 MB / 1.084 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006558/1.236, allocations: 59.98 kB / 1.084 GB, free: 3.406 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/1.238, allocations: 167.7 kB / 1.084 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008171/1.239, allocations: 249.5 kB / 1.084 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001934/1.239, allocations: 76.38 kB / 1.084 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.002503/1.241, allocations: 1.525 MB / 1.086 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.241, allocations: 0 / 1.086 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00458/1.246, allocations: 1.371 MB / 1.087 GB, free: 24 kB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.3871/1.633, allocations: 7.413 MB / 1.095 GB, free: 273.8 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01171/1.645, allocations: 6.556 MB / 1.101 GB, free: 272.8 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/1.645, allocations: 4.75 kB / 1.101 GB, free: 272.8 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.007428/1.652, allocations: 4.248 MB / 1.105 GB, free: 271.6 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005279/1.657, allocations: 1.119 MB / 1.106 GB, free: 271.3 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07156/1.729, allocations: 38.95 MB / 1.144 GB, free: 254 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005725/1.735, allocations: 3.644 MB / 1.148 GB, free: 252.7 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002422/1.737, allocations: 0.5515 MB / 1.148 GB, free: 252.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002846/1.74, allocations: 1.969 MB / 1.15 GB, free: 250.9 MB / 0.8731 GB Notification: Performance of SimCode: time 1.483e-06/1.74, allocations: 0 / 1.15 GB, free: 250.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1694/1.909, allocations: 112.3 MB / 1.26 GB, free: 146.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.52/19.43, allocations: 0 / 1.26 GB, free: 146.6 MB / 0.8731 GB " [Timeout remaining time 640] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 23.695301520172507] Failed to read output from testmodel.py, exit status != 0: 19.567177137359977 19.57617113 18.830925746 Calling exit ...