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.001328/0.001328, allocations: 106 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.001516/0.001516, 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.485/1.485, allocations: 225.6 MB / 247.8 MB, free: 3.738 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.134/1.134, allocations: 175.8 MB / 478.4 MB, free: 3.395 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_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.001933/0.001933, allocations: 71.97 kB / 0.6652 GB, free: 11.19 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2072, allocations: 94.54 MB / 0.7575 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02617/0.2334, allocations: 20.56 MB / 0.7776 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01193/0.2453, allocations: 6.527 MB / 0.784 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002139/0.2474, allocations: 87.56 kB / 0.7841 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005941/0.2534, allocations: 2.26 MB / 0.7863 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00346/0.2568, allocations: 1.256 MB / 0.7875 GB, free: 2.777 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003292/0.2601, allocations: 1.288 MB / 0.7888 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006292/0.2664, allocations: 4.854 MB / 0.7935 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005804/0.2722, allocations: 4.24 MB / 0.7976 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004602/0.2768, allocations: 2.115 MB / 0.7997 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00486/0.2817, allocations: 2.477 MB / 0.8021 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008127/0.2825, allocations: 432 kB / 0.8025 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.2847, allocations: 1.022 MB / 0.8035 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001912/0.2866, allocations: 1.715 MB / 0.8052 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002529/0.2891, allocations: 1.91 MB / 0.8071 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008284/0.2974, allocations: 6.53 MB / 0.8135 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.049e-05/0.2974, allocations: 4 kB / 0.8135 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2974, allocations: 3.938 kB / 0.8135 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001972/0.2976, allocations: 0 / 0.8135 GB, free: 8.07 MB / 0.6231 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.008231/0.3058, allocations: 3.537 MB / 0.8169 GB, free: 4.465 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.3059, allocations: 8.031 kB / 0.8169 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007328/0.3066, allocations: 454.6 kB / 0.8174 GB, free: 4 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003503/0.3101, allocations: 0.6545 MB / 0.818 GB, free: 3.344 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005655/0.3158, allocations: 2.058 MB / 0.82 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.316, allocations: 230.2 kB / 0.8202 GB, free: 1 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006855/0.3167, allocations: 292.1 kB / 0.8205 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009604/0.3263, allocations: 4.882 MB / 0.8253 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.124e-05/0.3264, allocations: 19.88 kB / 0.8253 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003378/0.3267, allocations: 128 kB / 0.8254 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004609/0.3272, allocations: 225.7 kB / 0.8256 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007332/0.3345, allocations: 3.754 MB / 0.8293 GB, free: 7.504 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02613/0.3606, allocations: 21.45 MB / 0.8502 GB, free: 64 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4164/0.7771, allocations: 1.228 MB / 0.8514 GB, free: 84.76 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001686/0.7787, allocations: 0.9801 MB / 0.8524 GB, free: 84.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.397e-05/0.7788, allocations: 11.44 kB / 0.8524 GB, free: 84.75 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.7789, allocations: 45.05 kB / 0.8525 GB, free: 84.7 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=107): time 4.057e-06/0.7789, allocations: 0.8438 kB / 0.8525 GB, free: 84.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=138): time 0.0274/0.8063, allocations: 8.651 MB / 0.8609 GB, free: 82.63 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.8063, allocations: 66.66 kB / 0.861 GB, free: 82.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.8086, allocations: 1.132 MB / 0.8621 GB, free: 82.13 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002615/0.8089, allocations: 55.23 kB / 0.8621 GB, free: 82.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009563/0.8098, allocations: 1.333 MB / 0.8634 GB, free: 81.25 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005156/0.8104, allocations: 0.495 MB / 0.8639 GB, free: 80.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005254/0.8109, allocations: 297 kB / 0.8642 GB, free: 80.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.23e-05/0.811, allocations: 305.7 kB / 0.8645 GB, free: 80.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.8124, allocations: 0.913 MB / 0.8654 GB, free: 80.15 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/0.8143, allocations: 1.325 MB / 0.8667 GB, free: 79.31 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003022/0.8173, allocations: 2.426 MB / 0.869 GB, free: 77.93 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.8173, allocations: 8.031 kB / 0.869 GB, free: 77.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006608/0.824, allocations: 3.432 MB / 0.8724 GB, free: 76.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.783e-05/0.824, allocations: 10.12 kB / 0.8724 GB, free: 76.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.824, allocations: 13.16 kB / 0.8724 GB, free: 76.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003266/0.8273, allocations: 1.183 MB / 0.8736 GB, free: 76.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.8284, allocations: 257.3 kB / 0.8738 GB, free: 76.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01614/0.8445, allocations: 13.86 MB / 0.8874 GB, free: 67.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.8461, allocations: 89.06 kB / 0.8874 GB, free: 67.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.8463, allocations: 61.06 kB / 0.8875 GB, free: 67.36 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.002034/0.8483, allocations: 1.12 MB / 0.8886 GB, free: 66.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004596/0.8487, allocations: 173.8 kB / 0.8888 GB, free: 66.55 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004857/0.8536, allocations: 3.124 MB / 0.8918 GB, free: 64.72 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.8536, allocations: 19.66 kB / 0.8918 GB, free: 64.71 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.739e-05/0.8536, allocations: 15.84 kB / 0.8918 GB, free: 64.71 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/0.8537, allocations: 3.984 kB / 0.8918 GB, free: 64.71 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.8637, allocations: 6.204 MB / 0.8979 GB, free: 60.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.154e-05/0.8637, allocations: 7.172 kB / 0.8979 GB, free: 60.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005382/0.8643, allocations: 147.8 kB / 0.8981 GB, free: 60.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00244/0.8667, allocations: 1.072 MB / 0.8991 GB, free: 59.7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.8668, allocations: 28 kB / 0.8991 GB, free: 59.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/0.8797, allocations: 13.54 MB / 0.9123 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.8797, allocations: 11.94 kB / 0.9124 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004627/0.8843, allocations: 3.12 MB / 0.9154 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/0.8854, allocations: 431.9 kB / 0.9158 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/0.8856, allocations: 39.94 kB / 0.9159 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007504/0.8863, allocations: 75.91 kB / 0.9159 GB, free: 41.97 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003402/0.8867, allocations: 132.6 kB / 0.916 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.332e-05/0.8868, allocations: 40 kB / 0.9161 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008301/0.8876, allocations: 0.7671 MB / 0.9168 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.8876, allocations: 0 / 0.9168 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002227/0.8898, allocations: 0.6602 MB / 0.9175 GB, free: 40.37 MB / 0.6544 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.00439/0.8942, allocations: 3.703 MB / 0.9211 GB, free: 36.58 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004192/0.8984, allocations: 3.009 MB / 0.924 GB, free: 33.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/0.8984, allocations: 4.656 kB / 0.924 GB, free: 33.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002494/0.9009, allocations: 1.888 MB / 0.9259 GB, free: 31.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.9031, allocations: 0.4907 MB / 0.9264 GB, free: 31.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02688/0.93, allocations: 19.12 MB / 0.945 GB, free: 11.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002256/0.9322, allocations: 2.34 MB / 0.9473 GB, free: 9.109 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001075/0.9333, allocations: 346.1 kB / 0.9476 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.9344, allocations: 1.011 MB / 0.9486 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of SimCode: time 1.864e-06/0.9344, allocations: 0 / 0.9486 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/1.05, allocations: 52.62 MB / 1 GB, free: 3.742 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/14.15, allocations: 10.72 kB / 1 GB, free: 3.738 MB / 0.7012 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.46604953473434] Failed to read output from testmodel.py, exit status != 0: 14.262173751369119 14.282162046 13.980352632 Calling exit ...