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.001431/0.001431, allocations: 102.7 kB / 16.4 MB, free: 6.488 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.00135/0.00135, allocations: 192.6 kB / 19.36 MB, free: 3.75 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.431/1.431, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.112/1.112, allocations: 173.5 MB / 470.7 MB, free: 13.63 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,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.001958/0.001958, allocations: 74.38 kB / 0.6479 GB, free: 11.74 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2154, allocations: 89.52 MB / 0.7353 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.4339/0.6493, allocations: 30.74 MB / 0.7653 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02006/0.6694, allocations: 13.59 MB / 0.7786 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004778/0.6743, allocations: 142.1 kB / 0.7787 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009041/0.6834, allocations: 3.202 MB / 0.7818 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009753/0.6931, allocations: 2.655 MB / 0.7844 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006475/0.6996, allocations: 2.02 MB / 0.7864 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01482/0.7145, allocations: 7.617 MB / 0.7938 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01787/0.7324, allocations: 8.238 MB / 0.8019 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008754/0.7412, allocations: 3.417 MB / 0.8052 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008376/0.7496, allocations: 3.381 MB / 0.8085 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003077/0.7527, allocations: 0.5944 MB / 0.8091 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006141/0.7588, allocations: 1.497 MB / 0.8106 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.005041/0.7639, allocations: 2.364 MB / 0.8129 GB, free: 1.816 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.007767/0.7717, allocations: 2.884 MB / 0.8157 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01894/0.7907, allocations: 9.494 MB / 0.825 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.7907, allocations: 0 / 0.825 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.7907, allocations: 0 / 0.825 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003556/0.7911, allocations: 0 / 0.825 GB, free: 8.152 MB / 0.6075 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.01505/0.8061, allocations: 5.27 MB / 0.8301 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.8062, allocations: 8.031 kB / 0.8301 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001634/0.8078, allocations: 0.6203 MB / 0.8307 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006443/0.8143, allocations: 1.02 MB / 0.8317 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008077/0.8224, allocations: 3.093 MB / 0.8347 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/0.8228, allocations: 316.8 kB / 0.835 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00203/0.8248, allocations: 423.8 kB / 0.8354 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01676/0.8416, allocations: 6.791 MB / 0.8421 GB, free: 6.148 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/0.8417, allocations: 23.83 kB / 0.8421 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004988/0.8423, allocations: 180 kB / 0.8423 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009114/0.8432, allocations: 376 kB / 0.8426 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01126/0.8544, allocations: 5.11 MB / 0.8476 GB, free: 460 kB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04547/0.8999, allocations: 30.57 MB / 0.8775 GB, free: 15.11 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002533/0.9025, allocations: 1.399 MB / 0.8788 GB, free: 13.7 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002022/0.9046, allocations: 1.327 MB / 0.8801 GB, free: 12.38 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001254/0.9047, allocations: 25.16 kB / 0.8802 GB, free: 12.36 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.896e-05/0.9048, allocations: 47.88 kB / 0.8802 GB, free: 12.3 MB / 0.67 GB Notification: Performance of pre-optimization done (n=130): time 3.116e-06/0.9048, allocations: 0 / 0.8802 GB, free: 12.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=199): time 0.09622/1.001, allocations: 23.15 MB / 0.9028 GB, free: 5.039 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.001, allocations: 73.41 kB / 0.9029 GB, free: 4.953 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005642/1.007, allocations: 2.066 MB / 0.9049 GB, free: 2.871 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003844/1.007, allocations: 57.7 kB / 0.9049 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002205/1.009, allocations: 2.067 MB / 0.907 GB, free: 0.7227 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.001102/1.011, allocations: 0.7126 MB / 0.9077 GB, free: 4 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001299/1.012, allocations: 408.4 kB / 0.908 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002118/1.012, allocations: 305.1 kB / 0.9083 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002769/1.015, allocations: 1.437 MB / 0.9097 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003265/1.018, allocations: 2.006 MB / 0.9117 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00614/1.024, allocations: 3.7 MB / 0.9153 GB, free: 7.66 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/1.024, allocations: 8 kB / 0.9153 GB, free: 7.652 MB / 0.7012 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01245/1.037, allocations: 5.667 MB / 0.9209 GB, free: 1.918 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/1.037, allocations: 12 kB / 0.9209 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/1.037, allocations: 20 kB / 0.9209 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00744/1.044, allocations: 2.084 MB / 0.9229 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/1.046, allocations: 379.3 kB / 0.9233 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04747/1.094, allocations: 38.46 MB / 0.9608 GB, free: 6.391 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002966/1.097, allocations: 139.9 kB / 0.961 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005075/1.097, allocations: 88 kB / 0.9611 GB, free: 6.168 MB / 0.7481 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.003619/1.101, allocations: 1.506 MB / 0.9625 GB, free: 4.652 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009832/1.102, allocations: 294.2 kB / 0.9628 GB, free: 4.363 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/1.114, allocations: 5.223 MB / 0.9679 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/1.114, allocations: 20 kB / 0.9679 GB, free: 15.05 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-05/1.114, allocations: 16.28 kB / 0.9679 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-05/1.114, allocations: 7.969 kB / 0.968 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02244/1.136, allocations: 9.673 MB / 0.9774 GB, free: 5.141 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.049e-05/1.136, allocations: 8 kB / 0.9774 GB, free: 5.133 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/1.138, allocations: 223.7 kB / 0.9776 GB, free: 4.914 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006514/1.144, allocations: 1.83 MB / 0.9794 GB, free: 3.027 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004298/1.145, allocations: 44 kB / 0.9794 GB, free: 2.984 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04462/1.189, allocations: 37.46 MB / 1.016 GB, free: 10.99 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.228e-05/1.189, allocations: 11.94 kB / 1.016 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/1.2, allocations: 4.93 MB / 1.021 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/1.202, allocations: 0.6241 MB / 1.021 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/1.203, allocations: 47.92 kB / 1.022 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002318/1.205, allocations: 127.8 kB / 1.022 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009398/1.206, allocations: 185.6 kB / 1.022 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002593/1.206, allocations: 59.94 kB / 1.022 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002796/1.209, allocations: 1.382 MB / 1.023 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/1.209, allocations: 0 / 1.023 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00513/1.214, allocations: 1.055 MB / 1.024 GB, free: 2.391 MB / 0.8106 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.01067/1.225, allocations: 5.545 MB / 1.03 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01153/1.237, allocations: 6.295 MB / 1.036 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.689e-05/1.237, allocations: 7.938 kB / 1.036 GB, free: 6.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.007938/1.245, allocations: 4.418 MB / 1.04 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006375/1.251, allocations: 0.9862 MB / 1.041 GB, free: 0.5312 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06778/1.319, allocations: 30.79 MB / 1.071 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3784/1.697, allocations: 3.123 MB / 1.074 GB, free: 271.5 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.00204/1.699, allocations: 0.5139 MB / 1.075 GB, free: 271.5 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002048/1.702, allocations: 1.672 MB / 1.076 GB, free: 271.5 MB / 0.8575 GB Notification: Performance of SimCode: time 8.62e-07/1.702, allocations: 4.719 kB / 1.076 GB, free: 271.5 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2398/1.941, allocations: 88.07 MB / 1.162 GB, free: 225.5 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.67/17.61, allocations: 7.812 kB / 1.162 GB, free: 225.5 MB / 0.8575 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: 21.905461424961686] Failed to read output from testmodel.py, exit status != 0: 17.748110400978476 17.766070774 16.972021331 Calling exit ...