Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001648/0.001648, allocations: 105.5 kB / 16.45 MB, free: 6.504 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.001823/0.001823, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.536/1.536, allocations: 225.6 MB / 247.8 MB, free: 13.95 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.099/1.099, allocations: 175.8 MB / 478.4 MB, free: 8.48 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: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 61.12 kB / 0.6652 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2032, allocations: 94.54 MB / 0.7575 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.3892/0.5924, allocations: 33.15 MB / 0.7899 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0202/0.6126, allocations: 10.39 MB / 0.8001 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003302/0.6159, allocations: 146.8 kB / 0.8002 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01059/0.6265, allocations: 3.778 MB / 0.8039 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006233/0.6327, allocations: 1.951 MB / 0.8058 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006275/0.639, allocations: 2.135 MB / 0.8079 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01021/0.6492, allocations: 7.329 MB / 0.815 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01268/0.6619, allocations: 7.05 MB / 0.8219 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007645/0.6695, allocations: 3.226 MB / 0.8251 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008378/0.6779, allocations: 3.684 MB / 0.8287 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.003045/0.681, allocations: 0.6451 MB / 0.8293 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00688/0.6878, allocations: 1.801 MB / 0.8311 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.005604/0.6934, allocations: 2.618 MB / 0.8336 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007683/0.7011, allocations: 2.894 MB / 0.8364 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0156/0.7167, allocations: 10.14 MB / 0.8463 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7167, allocations: 0 / 0.8463 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7167, allocations: 0 / 0.8463 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002822/0.717, allocations: 0 / 0.8463 GB, free: 13.3 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01141/0.7284, allocations: 5.12 MB / 0.8513 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.7285, allocations: 12.03 kB / 0.8514 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001139/0.7296, allocations: 0.6859 MB / 0.852 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005379/0.735, allocations: 0.9696 MB / 0.853 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007443/0.7424, allocations: 3.063 MB / 0.856 GB, free: 3.297 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002992/0.7427, allocations: 349.7 kB / 0.8563 GB, free: 2.953 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001051/0.7438, allocations: 464.2 kB / 0.8567 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.015/0.7588, allocations: 7.668 MB / 0.8642 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/0.7589, allocations: 27.81 kB / 0.8643 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005347/0.7594, allocations: 200 kB / 0.8644 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003931/0.7598, allocations: 317 kB / 0.8647 GB, free: 9.953 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01232/0.7722, allocations: 5.71 MB / 0.8703 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04439/0.8165, allocations: 34.9 MB / 0.9044 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002887/0.8194, allocations: 2.005 MB / 0.9064 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/0.8211, allocations: 1.12 MB / 0.9075 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.811e-05/0.8211, allocations: 13.31 kB / 0.9075 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/0.8212, allocations: 47.88 kB / 0.9075 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=133): time 3.747e-06/0.8212, allocations: 0 / 0.9075 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of matching and sorting (n=136): time 0.0145/0.8357, allocations: 7.122 MB / 0.9145 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.8358, allocations: 68.72 kB / 0.9145 GB, free: 3.387 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002327/0.8381, allocations: 1.48 MB / 0.916 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001705/0.8382, allocations: 45.7 kB / 0.916 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001887/0.8401, allocations: 2.073 MB / 0.918 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007196/0.8409, allocations: 0.4996 MB / 0.9185 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006755/0.8415, allocations: 355.3 kB / 0.9189 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.8417, allocations: 305.1 kB / 0.9192 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/0.8432, allocations: 0.9135 MB / 0.9201 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/0.8452, allocations: 1.593 MB / 0.9216 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003929/0.8491, allocations: 2.733 MB / 0.9243 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.8491, allocations: 8 kB / 0.9243 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006644/0.8558, allocations: 3.508 MB / 0.9277 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.8558, allocations: 12 kB / 0.9277 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.628e-05/0.8558, allocations: 27.94 kB / 0.9278 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002683/0.8585, allocations: 0.9056 MB / 0.9286 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.8599, allocations: 351.4 kB / 0.929 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02665/0.8866, allocations: 23.12 MB / 0.9516 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.8881, allocations: 104 kB / 0.9517 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002574/0.8884, allocations: 83.94 kB / 0.9517 GB, free: 10.82 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002799/0.8911, allocations: 1.617 MB / 0.9533 GB, free: 9.195 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004634/0.8916, allocations: 214.6 kB / 0.9535 GB, free: 8.984 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005643/0.8973, allocations: 2.963 MB / 0.9564 GB, free: 5.977 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.8973, allocations: 12 kB / 0.9564 GB, free: 5.965 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.248e-05/0.8973, allocations: 12 kB / 0.9564 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.8973, allocations: 7.969 kB / 0.9564 GB, free: 5.945 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/0.9121, allocations: 7.31 MB / 0.9636 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.9121, allocations: 8.062 kB / 0.9636 GB, free: 14.39 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008321/0.9129, allocations: 183.7 kB / 0.9638 GB, free: 14.21 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002545/0.9155, allocations: 0.814 MB / 0.9646 GB, free: 13.36 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.9156, allocations: 32 kB / 0.9646 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0241/0.9397, allocations: 21.96 MB / 0.986 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.9397, allocations: 4 kB / 0.986 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006318/0.946, allocations: 3.011 MB / 0.989 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/0.9473, allocations: 475.5 kB / 0.9894 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004579/0.9478, allocations: 36 kB / 0.9895 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.9489, allocations: 67.91 kB / 0.9895 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004411/0.9494, allocations: 124.7 kB / 0.9896 GB, free: 1.855 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.916e-05/0.9495, allocations: 44 kB / 0.9897 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001867/0.9513, allocations: 0.9717 MB / 0.9906 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9513, allocations: 0 / 0.9906 GB, free: 0.8164 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003129/0.9544, allocations: 0.7891 MB / 0.9914 GB, free: 28 kB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006331/0.9608, allocations: 3.603 MB / 0.9949 GB, free: 12.3 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.006947/0.9677, allocations: 3.917 MB / 0.9987 GB, free: 8.23 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/0.9677, allocations: 0 / 0.9987 GB, free: 8.23 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.004347/0.9721, allocations: 2.67 MB / 1.001 GB, free: 5.402 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003751/0.9758, allocations: 0.7339 MB / 1.002 GB, free: 4.695 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04263/1.018, allocations: 22.42 MB / 1.024 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006532/1.025, allocations: 3.105 MB / 1.027 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001579/1.027, allocations: 450 kB / 1.027 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002594/1.029, allocations: 1.542 MB / 1.029 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of SimCode: time 1.182e-06/1.029, allocations: 4 kB / 1.029 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5205/1.55, allocations: 61.75 MB / 1.089 GB, free: 271.8 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/15.06, allocations: 10.75 kB / 1.089 GB, free: 271.8 MB / 0.8731 GB " [Timeout remaining time 645] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.41294252919033] Failed to read output from testmodel.py, exit status != 0: 15.178226776886731 15.2011973 14.479991603 Calling exit ...