Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001268/0.001268, allocations: 111.4 kB / 16.4 MB, free: 6.512 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.001282/0.001282, 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.434/1.434, allocations: 222.9 MB / 245 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.068/1.068, allocations: 173.5 MB / 470.7 MB, free: 13.61 MB / 382.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002895/0.002895, allocations: 65.97 kB / 0.6478 GB, free: 11.77 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2108, allocations: 89.52 MB / 0.7353 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01031/0.2211, allocations: 6.793 MB / 0.7419 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00575/0.2269, allocations: 3.071 MB / 0.7449 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007387/0.2277, allocations: 23.88 kB / 0.7449 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002824/0.2305, allocations: 0.9523 MB / 0.7458 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.2321, allocations: 0.5011 MB / 0.7463 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.2334, allocations: 449.8 kB / 0.7468 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001986/0.2354, allocations: 1.228 MB / 0.748 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.2366, allocations: 0.6699 MB / 0.7486 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008398/0.2374, allocations: 478.3 kB / 0.7491 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009338/0.2384, allocations: 0.5137 MB / 0.7496 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000163/0.2385, allocations: 64 kB / 0.7496 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008438/0.2394, allocations: 383.2 kB / 0.75 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004039/0.2398, allocations: 319.1 kB / 0.7503 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006254/0.2404, allocations: 449.7 kB / 0.7507 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.2421, allocations: 1.23 MB / 0.7519 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2421, allocations: 0 / 0.7519 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2422, allocations: 0 / 0.7519 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.02e-05/0.2422, allocations: 4 kB / 0.7519 GB, free: 1.09 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.3694/0.6116, allocations: 1.182 MB / 0.7531 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.6117, allocations: 10.72 kB / 0.7531 GB, free: 18.7 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001484/0.6118, allocations: 123.7 kB / 0.7532 GB, free: 18.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.6135, allocations: 243.5 kB / 0.7534 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009112/0.6144, allocations: 0.609 MB / 0.754 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.6145, allocations: 47.22 kB / 0.7541 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.6146, allocations: 63.64 kB / 0.7541 GB, free: 18.36 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.616, allocations: 1.089 MB / 0.7552 GB, free: 18.04 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.827e-05/0.6161, allocations: 9.469 kB / 0.7552 GB, free: 18.04 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.245e-05/0.6161, allocations: 29.84 kB / 0.7552 GB, free: 18.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001523/0.6163, allocations: 85.38 kB / 0.7553 GB, free: 18.03 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.6174, allocations: 0.7492 MB / 0.7561 GB, free: 18.02 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004254/0.6216, allocations: 5.882 MB / 0.7618 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009503/0.6226, allocations: 0.554 MB / 0.7623 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004295/0.623, allocations: 324.7 kB / 0.7627 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.925e-05/0.6231, allocations: 7.016 kB / 0.7627 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.6231, allocations: 45.86 kB / 0.7627 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.435e-06/0.6231, allocations: 1.281 kB / 0.7627 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.003526/0.6266, allocations: 1.994 MB / 0.7647 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.6267, allocations: 65.41 kB / 0.7647 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006797/0.6274, allocations: 0.5596 MB / 0.7653 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.6274, allocations: 35.84 kB / 0.7653 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.6277, allocations: 425.7 kB / 0.7657 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.6278, allocations: 180.1 kB / 0.7659 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.628, allocations: 128.3 kB / 0.766 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.6281, allocations: 375.9 kB / 0.7664 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003717/0.6285, allocations: 273.6 kB / 0.7666 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004559/0.6289, allocations: 0.4894 MB / 0.7671 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008663/0.6298, allocations: 0.8109 MB / 0.7679 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6298, allocations: 2.469 kB / 0.7679 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001669/0.6315, allocations: 1.093 MB / 0.769 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.6315, allocations: 8.375 kB / 0.769 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.6315, allocations: 5 kB / 0.769 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008348/0.6324, allocations: 280.5 kB / 0.7692 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/0.6329, allocations: 125.1 kB / 0.7694 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005512/0.6384, allocations: 7.138 MB / 0.7763 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000622/0.639, allocations: 42.27 kB / 0.7764 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-05/0.6391, allocations: 30.47 kB / 0.7764 GB, free: 5.879 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,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.0003528/0.6394, allocations: 253.4 kB / 0.7766 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001153/0.6396, allocations: 82.83 kB / 0.7767 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.6413, allocations: 0.8832 MB / 0.7776 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.6413, allocations: 9 kB / 0.7776 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.6413, allocations: 2.938 kB / 0.7776 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.6414, allocations: 7.906 kB / 0.7776 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/0.6441, allocations: 1.733 MB / 0.7793 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/0.6442, allocations: 3.344 kB / 0.7793 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.6444, allocations: 64.8 kB / 0.7794 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000801/0.6453, allocations: 269.3 kB / 0.7796 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.6453, allocations: 6.938 kB / 0.7796 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006484/0.6518, allocations: 7.125 MB / 0.7866 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.6518, allocations: 2.859 kB / 0.7866 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/0.6537, allocations: 0.9872 MB / 0.7875 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003224/0.6541, allocations: 202.5 kB / 0.7877 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.479e-05/0.6542, allocations: 13.98 kB / 0.7878 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000368/0.6546, allocations: 29.8 kB / 0.7878 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.6547, allocations: 42.05 kB / 0.7878 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.6547, allocations: 16.83 kB / 0.7878 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000545/0.6553, allocations: 388.3 kB / 0.7882 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6553, allocations: 0 / 0.7882 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009991/0.6563, allocations: 229.8 kB / 0.7884 GB, free: 14.48 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002093/0.6584, allocations: 1.557 MB / 0.7899 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00237/0.6608, allocations: 1.27 MB / 0.7912 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6608, allocations: 0 / 0.7912 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/0.6623, allocations: 0.8966 MB / 0.7921 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.6635, allocations: 219.2 kB / 0.7923 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.6737, allocations: 6.409 MB / 0.7985 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007974/0.6745, allocations: 1.009 MB / 0.7995 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004872/0.675, allocations: 123.5 kB / 0.7996 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003566/0.6754, allocations: 253.5 kB / 0.7999 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of SimCode: time 9.32e-07/0.6754, allocations: 3.938 kB / 0.7999 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06053/0.7359, allocations: 17.47 MB / 0.8169 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.64, allocations: 11.27 kB / 0.817 GB, free: 15.86 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.45073154894635] Failed to read output from testmodel.py, exit status != 0: 11.739198099356145 11.765341554 11.518178333 Calling exit ...