Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.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.001743/0.001743, allocations: 104.2 kB / 16.45 MB, free: 6.445 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.001945/0.001945, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.484/1.484, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.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.106/1.106, allocations: 175.8 MB / 478.4 MB, free: 3.773 MB / 366.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,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 69.19 kB / 0.6652 GB, free: 11.2 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2154, allocations: 94.54 MB / 0.7575 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04028/0.2557, allocations: 31.21 MB / 0.788 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02358/0.2792, allocations: 13.72 MB / 0.8014 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004295/0.2835, allocations: 143.2 kB / 0.8016 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009929/0.2935, allocations: 3.253 MB / 0.8047 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01007/0.3035, allocations: 2.758 MB / 0.8074 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.007005/0.3106, allocations: 2.009 MB / 0.8094 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01271/0.3233, allocations: 7.629 MB / 0.8168 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01195/0.3352, allocations: 6.14 MB / 0.8228 GB, free: 14.42 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007422/0.3426, allocations: 3.47 MB / 0.8262 GB, free: 10.94 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007603/0.3502, allocations: 3.566 MB / 0.8297 GB, free: 7.367 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.002937/0.3532, allocations: 0.5977 MB / 0.8303 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004692/0.3579, allocations: 1.525 MB / 0.8318 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.004384/0.3623, allocations: 2.416 MB / 0.8341 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.557/0.9192, allocations: 2.89 MB / 0.837 GB, free: 23.46 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.02464/0.9439, allocations: 9.489 MB / 0.8462 GB, free: 23.03 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.9439, allocations: 0 / 0.8462 GB, free: 23.03 MB / 0.6387 GB Notification: Performance of FrontEnd: time 5.77e-06/0.9439, allocations: 0 / 0.8462 GB, free: 23.03 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0005641/0.9445, allocations: 4.125 kB / 0.8462 GB, free: 23.03 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.02349/0.968, allocations: 5.261 MB / 0.8514 GB, free: 20.9 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.968, allocations: 9.5 kB / 0.8514 GB, free: 20.9 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003451/0.9715, allocations: 0.6201 MB / 0.852 GB, free: 20.83 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008416/0.9799, allocations: 1.023 MB / 0.853 GB, free: 20.55 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/0.9899, allocations: 3.094 MB / 0.856 GB, free: 19.83 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003839/0.9903, allocations: 320.5 kB / 0.8563 GB, free: 19.82 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002628/0.9929, allocations: 416.3 kB / 0.8567 GB, free: 19.81 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02087/1.014, allocations: 6.795 MB / 0.8634 GB, free: 18.96 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002746/1.014, allocations: 17.64 kB / 0.8634 GB, free: 18.95 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002346/1.016, allocations: 184.6 kB / 0.8635 GB, free: 18.95 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000972/1.017, allocations: 370.9 kB / 0.8639 GB, free: 18.94 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0138/1.031, allocations: 5.113 MB / 0.8689 GB, free: 18.89 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03631/1.067, allocations: 30.58 MB / 0.8988 GB, free: 9.246 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/1.07, allocations: 1.307 MB / 0.9 GB, free: 8.559 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001779/1.071, allocations: 1.246 MB / 0.9012 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.33e-05/1.072, allocations: 19.78 kB / 0.9013 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.797e-05/1.072, allocations: 51.81 kB / 0.9013 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=130): time 3.747e-06/1.072, allocations: 0 / 0.9013 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of matching and sorting (n=199): time 0.08554/1.157, allocations: 23.08 MB / 0.9239 GB, free: 9.598 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/1.157, allocations: 73.41 kB / 0.9239 GB, free: 9.512 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003531/1.161, allocations: 2.062 MB / 0.9259 GB, free: 7.434 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003906/1.161, allocations: 57.7 kB / 0.926 GB, free: 7.371 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001659/1.163, allocations: 2.065 MB / 0.928 GB, free: 5.297 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009381/1.164, allocations: 0.718 MB / 0.9287 GB, free: 4.586 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008101/1.165, allocations: 408.4 kB / 0.9291 GB, free: 4.18 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001359/1.165, allocations: 305.1 kB / 0.9294 GB, free: 3.879 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/1.167, allocations: 1.437 MB / 0.9308 GB, free: 2.438 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002904/1.17, allocations: 2.011 MB / 0.9328 GB, free: 192 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005273/1.175, allocations: 3.693 MB / 0.9364 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/1.175, allocations: 8 kB / 0.9364 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01196/1.187, allocations: 5.597 MB / 0.9418 GB, free: 6.82 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.597e-05/1.187, allocations: 12 kB / 0.9418 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/1.187, allocations: 16 kB / 0.9419 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007143/1.194, allocations: 2.091 MB / 0.9439 GB, free: 4.66 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/1.196, allocations: 379.4 kB / 0.9443 GB, free: 4.316 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04395/1.24, allocations: 38.47 MB / 0.9818 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002809/1.243, allocations: 123.9 kB / 0.9819 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002713/1.243, allocations: 88 kB / 0.982 GB, free: 11.3 MB / 0.7325 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003196/1.246, allocations: 1.508 MB / 0.9835 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006542/1.247, allocations: 300.8 kB / 0.9838 GB, free: 9.52 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0111/1.258, allocations: 5.139 MB / 0.9888 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/1.258, allocations: 25.62 kB / 0.9888 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.602e-05/1.258, allocations: 16 kB / 0.9888 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.341e-05/1.258, allocations: 15.95 kB / 0.9889 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0218/1.28, allocations: 9.594 MB / 0.9982 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/1.28, allocations: 19.45 kB / 0.9983 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/1.281, allocations: 220.5 kB / 0.9985 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006059/1.287, allocations: 1.832 MB / 1 GB, free: 8.566 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004035/1.287, allocations: 43.98 kB / 1 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04182/1.329, allocations: 37.47 MB / 1.037 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/1.329, allocations: 10.91 kB / 1.037 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01026/1.339, allocations: 4.863 MB / 1.042 GB, free: 11.77 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002494/1.342, allocations: 0.6281 MB / 1.042 GB, free: 11.12 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007038/1.343, allocations: 40 kB / 1.042 GB, free: 11.08 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001519/1.344, allocations: 135.8 kB / 1.042 GB, free: 10.95 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006436/1.345, allocations: 191 kB / 1.043 GB, free: 10.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/1.345, allocations: 56 kB / 1.043 GB, free: 10.71 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002254/1.347, allocations: 1.374 MB / 1.044 GB, free: 9.332 MB / 0.795 GB Notification: Performance of sort global known variables: time 7e-08/1.347, allocations: 0 / 1.044 GB, free: 9.332 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0047/1.352, allocations: 1.055 MB / 1.045 GB, free: 8.277 MB / 0.795 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,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.01002/1.362, allocations: 5.476 MB / 1.05 GB, free: 2.719 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01137/1.373, allocations: 6.001 MB / 1.056 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/1.373, allocations: 0 / 1.056 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00781/1.381, allocations: 4.292 MB / 1.06 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004962/1.386, allocations: 0.9737 MB / 1.061 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05948/1.446, allocations: 30.66 MB / 1.091 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004272/1.45, allocations: 3.12 MB / 1.094 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001951/1.452, allocations: 0.5199 MB / 1.095 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002226/1.454, allocations: 1.673 MB / 1.097 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of SimCode: time 9.72e-07/1.454, allocations: 0 / 1.097 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6343/2.088, allocations: 88.65 MB / 1.183 GB, free: 328.1 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 16/18.09, allocations: 5.703 kB / 1.183 GB, free: 328.1 MB / 0.92 GB " [Timeout remaining time 642] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.605745647102594] Failed to read output from testmodel.py, exit status != 0: 18.227403131779283 18.247822747 17.299685214 Calling exit ...