Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001367/0.001367, allocations: 104.9 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.001409/0.001409, 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.466/1.466, allocations: 225.6 MB / 247.8 MB, free: 3.746 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.084/1.084, allocations: 175.8 MB / 478.4 MB, free: 3.453 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_L_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 71.84 kB / 0.6652 GB, free: 11.26 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1759, allocations: 94.54 MB / 0.7575 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04342/0.2193, allocations: 35.44 MB / 0.7922 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0205/0.2398, allocations: 11.62 MB / 0.8035 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003474/0.2433, allocations: 159.2 kB / 0.8037 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01158/0.2549, allocations: 4.316 MB / 0.8079 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006732/0.2616, allocations: 2.092 MB / 0.8099 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.006987/0.2686, allocations: 2.41 MB / 0.8123 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01134/0.28, allocations: 8.463 MB / 0.8205 GB, free: 0.9297 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01356/0.2935, allocations: 8.438 MB / 0.8288 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006406/0.2999, allocations: 3.794 MB / 0.8325 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007084/0.307, allocations: 4.424 MB / 0.8368 GB, free: 136 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.3836/0.6906, allocations: 0.7782 MB / 0.8376 GB, free: 23.62 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005872/0.6964, allocations: 2.065 MB / 0.8396 GB, free: 23.62 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.005245/0.7017, allocations: 3.137 MB / 0.8426 GB, free: 23.62 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.01177/0.7135, allocations: 3.405 MB / 0.846 GB, free: 23.04 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0217/0.7352, allocations: 12.01 MB / 0.8577 GB, free: 21.92 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.7352, allocations: 0 / 0.8577 GB, free: 21.92 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.754e-06/0.7352, allocations: 3.25 kB / 0.8577 GB, free: 21.92 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0004099/0.7356, allocations: 0 / 0.8577 GB, free: 21.92 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02686/0.7624, allocations: 5.939 MB / 0.8635 GB, free: 19.64 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/0.7625, allocations: 10.16 kB / 0.8635 GB, free: 19.64 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005478/0.768, allocations: 0.8035 MB / 0.8643 GB, free: 19.57 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009445/0.7774, allocations: 1.088 MB / 0.8654 GB, free: 19.25 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.7876, allocations: 3.474 MB / 0.8687 GB, free: 18.55 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003806/0.788, allocations: 417.6 kB / 0.8691 GB, free: 18.54 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002734/0.7908, allocations: 0.5341 MB / 0.8697 GB, free: 18.53 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02544/0.8162, allocations: 9.081 MB / 0.8785 GB, free: 16.18 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002473/0.8164, allocations: 39.02 kB / 0.8786 GB, free: 16.16 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002017/0.8185, allocations: 233.9 kB / 0.8788 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003866/0.8188, allocations: 347.6 kB / 0.8791 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01614/0.835, allocations: 6.825 MB / 0.8858 GB, free: 12.49 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04957/0.8845, allocations: 39.86 MB / 0.9247 GB, free: 8 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003752/0.8883, allocations: 2.915 MB / 0.9276 GB, free: 6.012 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002496/0.8908, allocations: 1.779 MB / 0.9293 GB, free: 4.895 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-05/0.8909, allocations: 22 kB / 0.9293 GB, free: 4.871 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.306e-05/0.8909, allocations: 56.55 kB / 0.9294 GB, free: 4.809 MB / 0.67 GB Notification: Performance of pre-optimization done (n=179): time 3.676e-06/0.891, allocations: 0 / 0.9294 GB, free: 4.809 MB / 0.67 GB Notification: Performance of matching and sorting (n=182): time 0.02646/0.9174, allocations: 9.988 MB / 0.9391 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/0.9175, allocations: 73.41 kB / 0.9392 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/0.9198, allocations: 1.522 MB / 0.9407 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002314/0.9201, allocations: 61.7 kB / 0.9407 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.00178/0.9219, allocations: 2.327 MB / 0.943 GB, free: 6.742 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007918/0.9227, allocations: 0.6564 MB / 0.9437 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007441/0.9234, allocations: 412.1 kB / 0.944 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.9235, allocations: 305.1 kB / 0.9443 GB, free: 5.383 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/0.9253, allocations: 1.179 MB / 0.9455 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002334/0.9277, allocations: 1.882 MB / 0.9473 GB, free: 2.012 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004457/0.9321, allocations: 3.373 MB / 0.9506 GB, free: 14.42 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.601e-05/0.9321, allocations: 8 kB / 0.9506 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008149/0.9403, allocations: 4.535 MB / 0.9551 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/0.9403, allocations: 12 kB / 0.9551 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.334e-05/0.9404, allocations: 24 kB / 0.9551 GB, free: 10 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003889/0.9443, allocations: 1.58 MB / 0.9566 GB, free: 8.422 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.9456, allocations: 354.2 kB / 0.957 GB, free: 8.102 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02586/0.9715, allocations: 18.61 MB / 0.9751 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002441/0.9739, allocations: 119.9 kB / 0.9753 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005652/0.9745, allocations: 103.6 kB / 0.9754 GB, free: 4.797 MB / 0.7169 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005644/0.9801, allocations: 1.892 MB / 0.9772 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007251/0.9809, allocations: 230.6 kB / 0.9774 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007928/0.9888, allocations: 4.041 MB / 0.9814 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.9888, allocations: 22.91 kB / 0.9814 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.665e-05/0.9889, allocations: 16 kB / 0.9814 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/0.9889, allocations: 7.969 kB / 0.9814 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02034/1.009, allocations: 9.417 MB / 0.9906 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/1.009, allocations: 8.562 kB / 0.9906 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008359/1.01, allocations: 181.6 kB / 0.9908 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003578/1.014, allocations: 1.354 MB / 0.9921 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002597/1.014, allocations: 36.25 kB / 0.9922 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0242/1.038, allocations: 17.37 MB / 1.009 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/1.038, allocations: 7.312 kB / 1.009 GB, free: 1.613 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007927/1.046, allocations: 4.038 MB / 1.013 GB, free: 13.54 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001643/1.048, allocations: 0.5346 MB / 1.014 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006853/1.048, allocations: 36 kB / 1.014 GB, free: 12.95 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/1.05, allocations: 87.89 kB / 1.014 GB, free: 12.87 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005914/1.05, allocations: 161.6 kB / 1.014 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/1.051, allocations: 51.47 kB / 1.014 GB, free: 12.66 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002013/1.053, allocations: 1.001 MB / 1.015 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8e-08/1.053, allocations: 0 / 1.015 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004032/1.057, allocations: 0.9883 MB / 1.016 GB, free: 10.65 MB / 0.7637 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007623/1.064, allocations: 4.631 MB / 1.02 GB, free: 5.992 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.007849/1.072, allocations: 4.166 MB / 1.024 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/1.072, allocations: 4.062 kB / 1.024 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004865/1.077, allocations: 2.578 MB / 1.027 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005011/1.082, allocations: 0.7681 MB / 1.028 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05187/1.134, allocations: 26.87 MB / 1.054 GB, free: 2.836 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006059/1.14, allocations: 3.577 MB / 1.057 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001684/1.142, allocations: 467.9 kB / 1.058 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002403/1.144, allocations: 1.792 MB / 1.06 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of SimCode: time 1.463e-06/1.144, allocations: 0 / 1.06 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1711/1.315, allocations: 74.36 MB / 1.132 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/15.78, allocations: 8.5 kB / 1.132 GB, free: 3.438 MB / 0.8731 GB " [Timeout remaining time 644] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.11931819608435] Failed to read output from testmodel.py, exit status != 0: 15.904453636147082 15.927669453 15.188001589 Calling exit ...