Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.001804/0.001804, allocations: 109.6 kB / 16.41 MB, free: 6.508 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.00208/0.00208, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.465/1.465, allocations: 222.9 MB / 245.1 MB, free: 15 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.093/1.093, allocations: 173.4 MB / 470.7 MB, free: 13.6 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_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.83 kB / 0.6479 GB, free: 11.72 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1962, allocations: 89.53 MB / 0.7353 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.438/0.6343, allocations: 20.21 MB / 0.755 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01121/0.6455, allocations: 6.454 MB / 0.7613 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002824/0.6484, allocations: 85.25 kB / 0.7614 GB, free: 8.074 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005953/0.6544, allocations: 2.234 MB / 0.7636 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004887/0.6593, allocations: 1.177 MB / 0.7647 GB, free: 7.352 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004242/0.6636, allocations: 1.283 MB / 0.766 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006838/0.6705, allocations: 4.864 MB / 0.7707 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008503/0.679, allocations: 5.6 MB / 0.7762 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005156/0.6842, allocations: 2.088 MB / 0.7782 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005553/0.6898, allocations: 2.348 MB / 0.7805 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001714/0.6915, allocations: 430.1 kB / 0.7809 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003779/0.6953, allocations: 1.001 MB / 0.7819 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003651/0.699, allocations: 1.664 MB / 0.7836 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005441/0.7045, allocations: 1.911 MB / 0.7854 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.7153, allocations: 6.535 MB / 0.7918 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.039e-05/0.7153, allocations: 5 kB / 0.7918 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.983e-06/0.7153, allocations: 0 / 0.7918 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002314/0.7156, allocations: 0 / 0.7918 GB, free: 15.7 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01074/0.7263, allocations: 3.538 MB / 0.7953 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.7264, allocations: 10.31 kB / 0.7953 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001068/0.7275, allocations: 457.3 kB / 0.7957 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00407/0.7315, allocations: 0.6532 MB / 0.7963 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00504/0.7366, allocations: 2.059 MB / 0.7984 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/0.7369, allocations: 221.7 kB / 0.7986 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008939/0.7378, allocations: 292.8 kB / 0.7988 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01153/0.7493, allocations: 4.887 MB / 0.8036 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001525/0.7495, allocations: 21.28 kB / 0.8036 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008466/0.7504, allocations: 122.9 kB / 0.8038 GB, free: 7.902 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005475/0.751, allocations: 232.5 kB / 0.804 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008917/0.7599, allocations: 3.754 MB / 0.8076 GB, free: 5.906 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03533/0.7953, allocations: 21.45 MB / 0.8286 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/0.7976, allocations: 1.305 MB / 0.8299 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.7993, allocations: 1.05 MB / 0.8309 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-05/0.7995, allocations: 12.91 kB / 0.8309 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.971e-05/0.7995, allocations: 47.56 kB / 0.8309 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=107): time 5.731e-06/0.7995, allocations: 3.984 kB / 0.831 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=138): time 0.02717/0.8267, allocations: 8.684 MB / 0.8394 GB, free: 6.121 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.8268, allocations: 76.66 kB / 0.8395 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.8288, allocations: 1.126 MB / 0.8406 GB, free: 4.902 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001519/0.829, allocations: 53.7 kB / 0.8407 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.83, allocations: 1.327 MB / 0.842 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005234/0.8305, allocations: 0.5035 MB / 0.8424 GB, free: 2.996 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005436/0.8311, allocations: 291.5 kB / 0.8427 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.8312, allocations: 313 kB / 0.843 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.8327, allocations: 0.9057 MB / 0.8439 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/0.8346, allocations: 1.326 MB / 0.8452 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003653/0.8382, allocations: 2.426 MB / 0.8476 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.8382, allocations: 4 kB / 0.8476 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006858/0.8451, allocations: 3.476 MB / 0.851 GB, free: 9.895 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.8452, allocations: 13 kB / 0.851 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/0.8452, allocations: 15.98 kB / 0.851 GB, free: 9.867 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003517/0.8487, allocations: 1.177 MB / 0.8521 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.8498, allocations: 259.5 kB / 0.8524 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02032/0.8701, allocations: 13.85 MB / 0.8659 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002136/0.8723, allocations: 87.97 kB / 0.866 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005292/0.8729, allocations: 63.98 kB / 0.8661 GB, free: 10.01 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003703/0.8766, allocations: 1.118 MB / 0.8672 GB, free: 8.879 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008268/0.8775, allocations: 170.9 kB / 0.8673 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006938/0.8844, allocations: 3.169 MB / 0.8704 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/0.8845, allocations: 23.94 kB / 0.8704 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.184e-05/0.8845, allocations: 12 kB / 0.8704 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.638e-05/0.8846, allocations: 7.969 kB / 0.8705 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01395/0.8985, allocations: 6.233 MB / 0.8765 GB, free: 15.11 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.778e-05/0.8986, allocations: 4 kB / 0.8765 GB, free: 15.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006942/0.8993, allocations: 148.3 kB / 0.8767 GB, free: 14.96 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003185/0.9025, allocations: 1.076 MB / 0.8777 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001971/0.9027, allocations: 28 kB / 0.8778 GB, free: 13.85 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02027/0.923, allocations: 13.55 MB / 0.891 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/0.9231, allocations: 7.938 kB / 0.891 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007266/0.9303, allocations: 3.167 MB / 0.8941 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/0.9319, allocations: 435.9 kB / 0.8945 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006394/0.9326, allocations: 28 kB / 0.8945 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/0.934, allocations: 83.89 kB / 0.8946 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005029/0.9345, allocations: 120.7 kB / 0.8947 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/0.9346, allocations: 44 kB / 0.8948 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001768/0.9364, allocations: 0.7632 MB / 0.8955 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.61e-07/0.9364, allocations: 0 / 0.8955 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003648/0.9401, allocations: 0.6641 MB / 0.8962 GB, free: 10.47 MB / 0.6856 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007146/0.9473, allocations: 3.748 MB / 0.8998 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006308/0.9536, allocations: 3.153 MB / 0.9029 GB, free: 3.441 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/0.9537, allocations: 4.75 kB / 0.9029 GB, free: 3.438 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003992/0.9577, allocations: 1.951 MB / 0.9048 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003298/0.961, allocations: 0.4941 MB / 0.9053 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04232/1.003, allocations: 19.2 MB / 0.9241 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004213/1.008, allocations: 2.332 MB / 0.9263 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001361/1.009, allocations: 346.1 kB / 0.9267 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001735/1.011, allocations: 1.011 MB / 0.9277 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of SimCode: time 1.653e-06/1.011, allocations: 0 / 0.9277 GB, free: 9.457 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1218/1.133, allocations: 52.27 MB / 0.9787 GB, free: 5.809 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/14, allocations: 0 / 0.9787 GB, free: 5.809 MB / 0.7637 GB " [Timeout remaining time 646] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.144771003630012] Failed to read output from testmodel.py, exit status != 0: 14.110228288918734 14.136634355 13.417171476 Calling exit ...